[xorg-commit-diffs] xc/programs/Xserver/hw/xwin winerror.c, 1.1.4.1.2.6, 1.1.4.1.2.7

Alexander Gottwald xorg-commit at pdx.freedesktop.org
Sat Apr 3 14:43:30 PST 2004


Committed by: ago

Update of /cvs/xorg/xc/programs/Xserver/hw/xwin
In directory pdx:/tmp/cvs-serv31327/hw/xwin

Modified Files:
      Tag: CYGWIN
	winerror.c 
Log Message:
correct used argument for va_start


Index: winerror.c
===================================================================
RCS file: /cvs/xorg/xc/programs/Xserver/hw/xwin/winerror.c,v
retrieving revision 1.1.4.1.2.6
retrieving revision 1.1.4.1.2.7
diff -u -d -r1.1.4.1.2.6 -r1.1.4.1.2.7
--- a/winerror.c	26 Mar 2004 20:39:17 -0000	1.1.4.1.2.6
+++ b/winerror.c	3 Apr 2004 22:43:27 -0000	1.1.4.1.2.7
@@ -93,7 +93,7 @@
   va_list	args;
 
   /* Get length of formatted error string */
-  va_start (args, pszError);
+  va_start (args, uType);
   i = sprintf (NULL, pszError, args);
   va_end (args);
   
@@ -103,7 +103,7 @@
     goto winMessageBoxF_Cleanup;
 
   /* Create the formatted error string */
-  va_start (args, pszError);
+  va_start (args, uType);
   sprintf (pszErrorF, pszError, args);
   va_end (args);
 




More information about the xorg-commit-diffs mailing list