Fix the build with clang.

PR:		ports/184709
PR:		ports/184727
Submitted by:	Radim Kolar <hsn@sendmail.cz>
Approved by:	maintainer timeout (17 days)
This commit is contained in:
Raphael Kubo da Costa 2013-12-28 23:24:36 +00:00
parent c0b8ce3047
commit 00c282b2bb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337928

View file

@ -0,0 +1,11 @@
--- src/main-win.c.orig 2013-10-23 10:42:02.000000000 +0200
+++ src/main-win.c 2013-12-12 18:26:14.000000000 +0100
@@ -378,7 +378,7 @@
image_list_sort_by_name( mw->img_list, GTK_SORT_DESCENDING );
if (image_list_get_first(mw->img_list))
main_win_open(mw, image_list_get_current_file_path(mw->img_list), zoom);
- return;
+ return TRUE;
}