Always print version on startup

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Sat May 17 06:42:03 CDT 2003


Changelog:
	misc/options.c: OPTIONS_ParseOptions
	Always print out version

The recent posting about the Altere quartus installer not working seems to
be caused by an old version used. The poster shows the startup and
messages. If the version was printed by default, it could help debugging
-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Index: wine/misc/options.c
===================================================================
RCS file: /home/wine/wine/misc/options.c,v
retrieving revision 1.41
diff -u -r1.41 options.c
--- wine/misc/options.c	1 Oct 2002 18:07:37 -0000	1.41
+++ wine/misc/options.c	17 May 2003 11:35:50 -0000
@@ -77,7 +77,7 @@
 
 static void do_version( const char *arg )
 {
-    MESSAGE( "%s\n", PACKAGE_STRING );
+    /* version already displayed, just exit */
     ExitProcess(0);
 }
 
@@ -223,6 +223,7 @@
         inherit_options( buffer );
     if (!argv) return;
 
+    MESSAGE( "%s\n", PACKAGE_STRING );
     parse_options( argv + 1 );
 
     SetEnvironmentVariableA( "WINEOPTIONS", inherit_str );



More information about the wine-patches mailing list