mirror of
https://github.com/gryf/wmaker.git
synced 2026-11-23 16:06:55 +01:00
fixed some Bool flags passed to WINgs functions to always set 1 or 0 values internally
This commit is contained in:
1 parent
208ee16849
commit
e4a53ba71e
21 files changed
+36
-27
No files matched your search
+1
-1
@@ -837,7 +837,7 @@ WMSetSplitViewVertical(WMSplitView *sPtr, Bool flag)
|
||||
|
||||
CHECK_CLASS(sPtr, WC_SplitView);
|
||||
|
||||
vertical = (flag) ? 1 : 0;
|
||||
vertical = ((flag==0) ? 0 : 1);
|
||||
if (sPtr->flags.vertical == vertical)
|
||||
return;
|
||||
|
||||
|
||||
Reference in new issue
Block a user