[xorg-commit-diffs] xc/programs/Xserver/hw/xwin winprocarg.c, 1.1.2.12, 1.1.2.13

Alexander Gottwald xorg-commit at pdx.freedesktop.org
Mon Mar 29 11:36:21 PST 2004


Committed by: ago


Index: winprocarg.c
===================================================================
RCS file: /cvs/xorg/xc/programs/Xserver/hw/xwin/Attic/winprocarg.c,v
retrieving revision 1.1.2.12
retrieving revision 1.1.2.13
diff -u -d -r1.1.2.12 -r1.1.2.13
--- a/winprocarg.c	29 Mar 2004 15:45:52 -0000	1.1.2.12
+++ b/winprocarg.c	29 Mar 2004 19:36:18 -0000	1.1.2.13
@@ -1000,16 +1000,18 @@
   /*
    * Look for the '-config' argument
    */
-  if (IS_OPTION ("-config"))
+  if (IS_OPTION ("-config")
+      || IS_OPTION ("-xf86config"))
     {
       CHECK_ARGS (1);
 #ifdef XWIN_XF86CONFIG
       g_cmdline.configFile = argv[++i];
 #else
-      winMessageBoxF ("The -config option is not supported in this "
+      winMessageBoxF ("The %s option is not supported in this "
 		      "release.\n"
 		      "Ignoring this option and continuing.\n",
-		      MB_ICONINFORMATION);
+		      MB_ICONINFORMATION,
+		      argv[i]);
 #endif
       return 2;
     }




More information about the xorg-commit-diffs mailing list