Fixed steam-related freeze and msgbox crash

This commit is contained in:
Mathew Velasquez 2016-03-02 20:45:06 -05:00
parent 7c622769ad
commit 7275291e7d
2 changed files with 2 additions and 3 deletions

View file

@ -461,6 +461,8 @@ void Oneshot::setYesNo(const char *yes, const char *no)
bool Oneshot::msgbox(int type, const char *body, const char *title)
{
if (!title)
title = "";
#if defined OS_W32
//Get native window handle
SDL_SysWMinfo wminfo;

View file

@ -99,9 +99,6 @@ struct SteamPrivate
const STEAMSHIM_Event *e;
while ((e = STEAMSHIM_pump()) != 0)
{
/* Skip erroneous events */
if (!e->okay)
continue;
/* Handle events */
switch (e->type)
{