[PATCH] comdlg32: Don't use BOOL constants for regular integer type
Nikolay Sivov
nsivov at codeweavers.com
Sun Jan 10 12:12:36 CST 2016
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/comdlg32/itemdlg.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/comdlg32/itemdlg.c b/dlls/comdlg32/itemdlg.c
index f9a7707..43261f4 100644
--- a/dlls/comdlg32/itemdlg.c
+++ b/dlls/comdlg32/itemdlg.c
@@ -370,13 +370,13 @@ static UINT get_file_name(FileDialogImpl *This, LPWSTR *str)
lstrcpyW(*str, This->set_filename);
return len;
}
- return FALSE;
+ return 0;
}
len = SendMessageW(hwnd_edit, WM_GETTEXTLENGTH, 0, 0);
*str = CoTaskMemAlloc(sizeof(WCHAR)*(len+1));
if(!*str)
- return FALSE;
+ return 0;
SendMessageW(hwnd_edit, WM_GETTEXT, len+1, (LPARAM)*str);
return len;
--
2.6.4
More information about the wine-patches
mailing list