Alexandre Julliard : libwine: Fix handling of precision argument in vsnprintfW.

Alexandre Julliard julliard at winehq.org
Thu Oct 29 11:20:34 CDT 2009


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Oct 29 13:05:37 2009 +0100

libwine: Fix handling of precision argument in vsnprintfW.

---

 libs/wine/string.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libs/wine/string.c b/libs/wine/string.c
index 3c41019..6afb899 100644
--- a/libs/wine/string.c
+++ b/libs/wine/string.c
@@ -406,6 +406,7 @@ int vsnprintfW(WCHAR *str, size_t len, const WCHAR *format, va_list valist)
                     sprintf(buffiter, "%d", fieldlen);
                     while (*buffiter)
                         *fmta++ = *buffiter++;
+                    iter++;
                 }
                 else
                     while (isdigit(*iter))




More information about the wine-cvs mailing list