From 2d75403a3ac499a8a2bf1a78843dd2df9c00768c Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 5 Sep 2012 22:41:32 +0200 Subject: Help message may be printed in log file --- xorg-server/hw/xwin/winprocarg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xorg-server/hw/xwin/winprocarg.c b/xorg-server/hw/xwin/winprocarg.c index d246db82a..c90d5304a 100644 --- a/xorg-server/hw/xwin/winprocarg.c +++ b/xorg-server/hw/xwin/winprocarg.c @@ -268,8 +268,9 @@ ddxProcessArgument(int argc, char *argv[], int i) */ if (IS_OPTION("-help") || IS_OPTION("-h") || IS_OPTION("--help")) { /* Reset logfile. We don't need that helpmessage in the logfile */ - g_pszLogFile = NULL; +#ifdef _DEBUG g_fNoHelpMessageBox = TRUE; +#endif UseMsg(); exit(0); return 1; @@ -277,7 +278,6 @@ ddxProcessArgument(int argc, char *argv[], int i) if (IS_OPTION("-version") || IS_OPTION("--version")) { /* Reset logfile. We don't need that versioninfo in the logfile */ - g_pszLogFile = NULL; winLogVersionInfo(); exit(0); return 1; -- cgit v1.2.3