Make ?scanf recognice chars again

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Changelog:
	dlls/msvcrt/scanf.h: _FUNCTION_
	Make the scanf family recognice characters again

N.B.: Xilinx Webpack's _pn.exe with an existing project choked on that

-- 
Uwe Bonnes                bon@elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Index: wine/dlls/msvcrt/scanf.h
===================================================================
RCS file: /home/wine/wine/dlls/msvcrt/scanf.h,v
retrieving revision 1.1
diff -u -r1.1 scanf.h
--- wine/dlls/msvcrt/scanf.h	17 Aug 2002 01:22:00 -0000	1.1
+++ wine/dlls/msvcrt/scanf.h	7 Sep 2002 18:05:23 -0000
@@ -219,7 +219,7 @@
 			seendigit=1;
 		    }
                     /* read until no more digits */
-                    while (width!=0 && (nch!=_EOF_) && _ISDIGIT_(nch)) {
+                    while (width!=0 && (nch!=_EOF_) && _CHAR2DIGIT_(nch, base)!=-1) {
                         cur = cur*base + _CHAR2DIGIT_(nch, base);
                         nch = _GETC_(file);
 			if (width>0) width--;


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux