diff options
author | marha <marha@users.sourceforge.net> | 2012-09-05 22:41:32 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-09-05 22:41:32 +0200 |
commit | 2d75403a3ac499a8a2bf1a78843dd2df9c00768c (patch) | |
tree | b259c775f6bd59543dfcf1dbdda34ebf470d5a4a | |
parent | d9d18b33b6a015987f589c2121abd108eb0a350e (diff) | |
download | vcxsrv-2d75403a3ac499a8a2bf1a78843dd2df9c00768c.tar.gz vcxsrv-2d75403a3ac499a8a2bf1a78843dd2df9c00768c.tar.bz2 vcxsrv-2d75403a3ac499a8a2bf1a78843dd2df9c00768c.zip |
Help message may be printed in log file
-rw-r--r-- | xorg-server/hw/xwin/winprocarg.c | 4 |
1 files 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; |