Skip to content
Permalink
Browse files

Fix Win32 build

  • Loading branch information...
vLKp committed Jul 22, 2019
1 parent dd8cfa7 commit 98ad2402bfac4217b62929016bd97b0bff14c52a
Showing with 3 additions and 3 deletions.
  1. +1 −1 similar/main/inferno.cpp
  2. +2 −2 similar/main/menu.cpp
@@ -408,7 +408,7 @@ d_interface_unique_state::d_interface_unique_state()
void d_interface_unique_state::update_window_title()
{
#if SDL_MAJOR_VERSION == 1
if (!PilotName[0])
if (!PilotName[0u])
SDL_WM_SetCaption(DESCENT_VERSION, DXX_SDL_WINDOW_CAPTION);
else
{
@@ -384,7 +384,7 @@ static void RegisterPlayer()
int allow_abort_flag = 1;

auto &callsign = InterfaceUniqueState.PilotName;
if (!callsign[0])
if (!callsign[0u])
{
if (!*static_cast<const char *>(GameCfg.LastPlayer))
{
@@ -474,7 +474,7 @@ static int main_menu_handler(newmenu *menu,const d_event &event, int *menu_choic
switch (event.type)
{
case EVENT_WINDOW_CREATED:
if (InterfaceUniqueState.PilotName[0])
if (InterfaceUniqueState.PilotName[0u])
break;
RegisterPlayer();
break;

0 comments on commit 98ad240

Please sign in to comment.
You can’t perform that action at this time.