Skip to content

Commit

Permalink
Fixed: Compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Mar 10, 2014
1 parent 1163ae1 commit 9a6277b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doomsday/client/src/ui/b_main.cpp
Expand Up @@ -728,7 +728,7 @@ DENG_EXTERN_C int DD_GetKeyCode(const char* key)

bool B_UnbindCommand(const char *command)
{
bool deleted = false;
dd_bool deleted = false;
for(int i = 0; i < B_ContextCount(); ++i)
{
bcontext_t *bc = B_ContextByPos(i);
Expand All @@ -737,5 +737,5 @@ bool B_UnbindCommand(const char *command)
deleted |= B_DeleteBinding(bc, ev->bid);
}
}
return deleted;
return CPP_BOOL(deleted);
}

0 comments on commit 9a6277b

Please sign in to comment.