mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
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:
parent
735525758d
commit
9f52fb1d21
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue