]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
it's .file, not .name'
authorWolfgang (Blub) Bumiller <blub@speed.at>
Tue, 14 Aug 2012 10:17:34 +0000 (12:17 +0200)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Tue, 14 Aug 2012 10:17:34 +0000 (12:17 +0200)
error.c

diff --git a/error.c b/error.c
index 3187aeea8510feada75b313871eb0f318dbe9f45..e6a1c7da2f5f499f483d03b2de47c462e0756803 100644 (file)
--- a/error.c
+++ b/error.c
@@ -58,7 +58,7 @@ void printmsg(int level, const char *name, size_t line, const char *msgtype, con
 
 void cvprintmsg(lex_ctx ctx, int lvl, const char *msgtype, const char *msg, va_list ap)
 {
-    vprintmsg(lvl, ctx.name, ctx.line, msgtype, msg, ap);
+    vprintmsg(lvl, ctx.file, ctx.line, msgtype, msg, ap);
 }
 
 void cprintmsg (lex_ctx ctx, int lvl, const char *msgtype, const char *msg, ...)