Skip to content

Commit

Permalink
libcommon: Fix bool/boolean type mixup in hu_stuff.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Jul 24, 2013
1 parent 9793cbf commit bc0d024
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doomsday/plugins/common/src/hu_stuff.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1571,7 +1571,7 @@ boolean Hu_IsMapTitleVisible(void)
return (actualMapTime < 6 * 35) || ST_AutomapIsActive(DISPLAYPLAYER);
}

static bool needToRespectStatusBarHeightWhenAutomapOpen(void)
static boolean needToRespectStatusBarHeightWhenAutomapOpen(void)
{
#ifndef __JDOOM64__
return Hu_IsStatusBarVisible(DISPLAYPLAYER);
Expand All @@ -1580,7 +1580,7 @@ static bool needToRespectStatusBarHeightWhenAutomapOpen(void)
return false;
}

static bool needToRespectHudSizeWhenAutomapOpen(void)
static boolean needToRespectHudSizeWhenAutomapOpen(void)
{
#ifdef __JDOOM__
if(cfg.hudShown[HUD_FACE] && !Hu_IsStatusBarVisible(DISPLAYPLAYER) &&
Expand Down

2 comments on commit bc0d024

@skyjake
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the mixup? This is C++...

@danij-deng
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ask MSVC, I simply corrected the warnings in my build log.

Please sign in to comment.