From ba8b98bae5a11855d1523f59fd5af6930561ad8e Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Fri, 5 Sep 2008 08:21:32 -0700 Subject: [PATCH] sane.ds: Replace wsprintfW with sprintfW. --- dlls/sane.ds/ui.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) 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; -- 1.5.2.2