Fix a warning with Linux/GTK2. DONT_BUILD.

git-svn-id: https://svn.eduke32.com/eduke32@4803 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2014-12-08 09:18:29 +00:00
parent 735525758d
commit 9f52fb1d21

View file

@ -197,8 +197,8 @@ int32_t wm_ynbox(const char *name, const char *fmt, ...)
#elif defined HAVE_GTK2 #elif defined HAVE_GTK2
{ {
int32_t r = gtkbuild_ynbox(name, buf); int32_t r = gtkbuild_ynbox(name, buf);
if (r >= 0)
return r; return r >= 0 ? r : 0;
} }
#elif defined _WIN32 #elif defined _WIN32
return (MessageBox(win_gethwnd(),buf,name,MB_YESNO|MB_ICONQUESTION|MB_TASKMODAL) == IDYES); return (MessageBox(win_gethwnd(),buf,name,MB_YESNO|MB_ICONQUESTION|MB_TASKMODAL) == IDYES);