Alexandre Julliard : mapi32: Get rid of unneeded CharNextA call.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Jun 26 07:11:42 CDT 2007


Module: wine
Branch: master
Commit: 24eee19bfd1ad1ac19c2ddf6075bde1391065a99
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=24eee19bfd1ad1ac19c2ddf6075bde1391065a99

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Jun 25 19:48:15 2007 +0200

mapi32: Get rid of unneeded CharNextA call.

---

 dlls/mapi32/util.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/mapi32/util.c b/dlls/mapi32/util.c
index edfeab5..6621e6f 100644
--- a/dlls/mapi32/util.c
+++ b/dlls/mapi32/util.c
@@ -656,7 +656,7 @@ UINT WINAPI UFromSz(LPCSTR lpszStr)
         while (*lpszStr >= '0' && *lpszStr <= '9')
         {
             ulRet = ulRet * 10 + (*lpszStr - '0');
-            lpszStr = CharNextA(lpszStr);
+            lpszStr++;
         }
     }
     return ulRet;




More information about the wine-cvs mailing list