We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a91b17e commit 666707cCopy full SHA for 666707c
WindowSystem.h
@@ -32,7 +32,7 @@ class CWindowStack
32
33
CMenuBaseWindow *Current() const { return stack.IsValidIndex( active ) ? stack[active] : NULL; }
34
35
- bool IsActive( void ) { return !stack.IsEmpty(); }
+ bool IsActive( void ) { return stack.Count() > 0; }
36
int Count( void ) { return stack.Count(); }
37
void Clean( void )
38
{
0 commit comments