diff --git a/src/oneshot.cpp b/src/oneshot.cpp index 2744053..934343c 100644 --- a/src/oneshot.cpp +++ b/src/oneshot.cpp @@ -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; diff --git a/src/steam.cpp b/src/steam.cpp index 5790960..d1bdf6d 100644 --- a/src/steam.cpp +++ b/src/steam.cpp @@ -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) {