From: Wolfgang (Blub) Bumiller Date: Tue, 14 Aug 2012 10:17:34 +0000 (+0200) Subject: it's .file, not .name' X-Git-Tag: 0.1-rc1~317 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=36591e902ba0c9f37404ff75f3f83b2cad0ad2ae;p=xonotic%2Fgmqcc.git it's .file, not .name' --- diff --git a/error.c b/error.c index 3187aee..e6a1c7d 100644 --- 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, ...)