mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-22 18:15:49 +01:00
fixed some Bool flags passed to WINgs functions to always set 1 or 0 values internally
This commit is contained in:
@@ -151,7 +151,7 @@ WMSetBalloonDelay(WMScreen *scr, int delay)
|
||||
void
|
||||
WMSetBalloonEnabled(WMScreen *scr, Bool flag)
|
||||
{
|
||||
scr->balloon->flags.enabled = flag;
|
||||
scr->balloon->flags.enabled = ((flag==0) ? 0 : 1);
|
||||
|
||||
W_UnmapView(scr->balloon->view);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user