mirror of
https://github.com/gryf/wmaker.git
synced 2026-04-26 02:21:27 +02:00
fixed some Bool flags passed to WINgs functions to always set 1 or 0 values internally
This commit is contained in:
+1
-1
@@ -96,7 +96,7 @@ WMGetMenuItemEnabled(WMMenuItem *item)
|
||||
void
|
||||
WMSetMenuItemEnabled(WMMenuItem *item, Bool flag)
|
||||
{
|
||||
item->flags.enabled = flag;
|
||||
item->flags.enabled = ((flag==0) ? 0 : 1);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user