ntdll: Accept double-digit CPU families

André Hentschel nerv at dawncrow.de
Sun Aug 7 06:45:48 CDT 2011


should fix the regression http://bugs.winehq.org/show_bug.cgi?id=28006 introduced by me
---
 dlls/ntdll/nt.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/dlls/ntdll/nt.c b/dlls/ntdll/nt.c
index f9302c1..bc7ef86 100644
--- a/dlls/ntdll/nt.c
+++ b/dlls/ntdll/nt.c
@@ -995,7 +995,6 @@ void fill_cpu_info(void)
             {
                 if (isdigit(value[0]))
                 {
-                    value[1] = '\0'; /* Make sure we only get one character */
                     cached_sci.Level = atoi(value);
                 }
                 continue;
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list