[pkg-wine-party] [SCM] Debian Wine packaging branch, lenny, updated. wine-1.0.0-1-126-gccc5cbd
The following commit has been merged in the lenny branch:
commit d50bcaa378759de33aa9d459027fd0f4e9f050ea
Author: Lei Zhang <thestig@google.com>
Date: Fri Sep 5 08:21:32 2008 -0700
sane.ds: Replace wsprintfW with sprintfW.
(cherry picked from commit 887aa9eb3dd3fc22d4f50df125080f5fc82b583c)
diff --git a/dlls/sane.ds/ui.c b/dlls/sane.ds/ui.c
index 83006c5..236a91d 100644
--- a/dlls/sane.ds/ui.c
+++ b/dlls/sane.ds/ui.c
@@ -36,6 +36,7 @@
#include "sane_i.h"
#include "wine/debug.h"
#include "resource.h"
+#include "wine/unicode.h"
#ifdef SONAME_LIBSANE
@@ -622,7 +623,7 @@ static void UpdateRelevantEdit(HWND hwnd, const SANE_Option_Descriptor *opt,
else
si = position;
- len = wsprintfW( buffer, formatW, si );
+ len = sprintfW( buffer, formatW, si );
}
else if (opt->type == SANE_TYPE_FIXED)
{
@@ -636,7 +637,7 @@ static void UpdateRelevantEdit(HWND hwnd, const SANE_Option_Descriptor *opt,
else
dd = position * 0.01;
- len = wsprintfW( buffer, formatW, dd );
+ len = sprintfW( buffer, formatW, dd );
}
else return;
--
Debian Wine packaging
Reply to: