Commit 887aa9eb authored by Lei Zhang's avatar Lei Zhang Committed by Alexandre Julliard

sane.ds: Replace wsprintfW with sprintfW.

parent e605d3e9
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
#include "sane_i.h" #include "sane_i.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "resource.h" #include "resource.h"
#include "wine/unicode.h"
#ifdef SONAME_LIBSANE #ifdef SONAME_LIBSANE
...@@ -622,7 +623,7 @@ static void UpdateRelevantEdit(HWND hwnd, const SANE_Option_Descriptor *opt, ...@@ -622,7 +623,7 @@ static void UpdateRelevantEdit(HWND hwnd, const SANE_Option_Descriptor *opt,
else else
si = position; si = position;
len = wsprintfW( buffer, formatW, si ); len = sprintfW( buffer, formatW, si );
} }
else if (opt->type == SANE_TYPE_FIXED) else if (opt->type == SANE_TYPE_FIXED)
{ {
...@@ -636,7 +637,7 @@ static void UpdateRelevantEdit(HWND hwnd, const SANE_Option_Descriptor *opt, ...@@ -636,7 +637,7 @@ static void UpdateRelevantEdit(HWND hwnd, const SANE_Option_Descriptor *opt,
else else
dd = position * 0.01; dd = position * 0.01;
len = wsprintfW( buffer, formatW, dd ); len = sprintfW( buffer, formatW, dd );
} }
else return; else return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment