Module: wine Branch: master Commit: 78fe60ac765ddb7d5bef8e2ce99e864136f48a01 URL: http://source.winehq.org/git/wine.git/?a=commit;h=78fe60ac765ddb7d5bef8e2ce9...
Author: Frédéric Delanoy frederic.delanoy@gmail.com Date: Sat Sep 21 00:47:25 2013 +0200
gphoto2.ds: Use BOOL type where appropriate.
---
dlls/gphoto2.ds/ui.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/gphoto2.ds/ui.c b/dlls/gphoto2.ds/ui.c index 0b21f2e..d663552 100644 --- a/dlls/gphoto2.ds/ui.c +++ b/dlls/gphoto2.ds/ui.c @@ -69,17 +69,17 @@ static void UI_EndDialog(HWND hwnd, INT_PTR rc) EndDialog(hwnd, rc); }
-static int GetAllImages(void) +static BOOL GetAllImages(void) { struct gphoto2_file *file; - int has_images = 0; + BOOL has_images = FALSE;
LIST_FOR_EACH_ENTRY( file, &activeDS.files, struct gphoto2_file, entry) { if (strstr(file->filename,".JPG") || strstr(file->filename,".jpg")) { file->download = TRUE; - has_images = 1; + has_images = TRUE; } } return has_images;