diff --git a/WindowSystem.h b/WindowSystem.h index d69dea4d..da308999 100644 --- a/WindowSystem.h +++ b/WindowSystem.h @@ -32,7 +32,7 @@ class CWindowStack CMenuBaseWindow *Current() const { return stack.IsValidIndex( active ) ? stack[active] : NULL; } - bool IsActive( void ) { return !stack.IsEmpty(); } + bool IsActive( void ) { return stack.Count() > 0; } int Count( void ) { return stack.Count(); } void Clean( void ) {