aboutsummaryrefslogtreecommitdiff
path: root/xorg-server
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-09-05 22:41:32 +0200
committermarha <marha@users.sourceforge.net>2012-09-05 22:41:32 +0200
commit2d75403a3ac499a8a2bf1a78843dd2df9c00768c (patch)
treeb259c775f6bd59543dfcf1dbdda34ebf470d5a4a /xorg-server
parentd9d18b33b6a015987f589c2121abd108eb0a350e (diff)
downloadvcxsrv-2d75403a3ac499a8a2bf1a78843dd2df9c00768c.tar.gz
vcxsrv-2d75403a3ac499a8a2bf1a78843dd2df9c00768c.tar.bz2
vcxsrv-2d75403a3ac499a8a2bf1a78843dd2df9c00768c.zip
Help message may be printed in log file
Diffstat (limited to 'xorg-server')
-rw-r--r--xorg-server/hw/xwin/winprocarg.c4
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;