Rob Shearman : browseui: Fix typo in declaration of empty_string in set_buffer.

Alexandre Julliard julliard at winehq.org
Tue Feb 19 08:05:15 CST 2008


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

Author: Rob Shearman <rob at codeweavers.com>
Date:   Mon Feb 18 19:37:41 2008 +0000

browseui: Fix typo in declaration of empty_string in set_buffer.

---

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

diff --git a/dlls/browseui/progressdlg.c b/dlls/browseui/progressdlg.c
index 28538d3..a0444fd 100644
--- a/dlls/browseui/progressdlg.c
+++ b/dlls/browseui/progressdlg.c
@@ -78,7 +78,7 @@ static const IProgressDialogVtbl ProgressDialogVtbl;
 
 static void set_buffer(LPWSTR *buffer, LPCWSTR string)
 {
-    const WCHAR empty_string = {0};
+    static const WCHAR empty_string[] = {0};
     IMalloc *malloc;
     int cb;
 




More information about the wine-cvs mailing list