mirror of
https://github.com/gryf/wmaker.git
synced 2026-03-18 08:33:33 +01:00
fixed some Bool flags passed to WINgs functions to always set 1 or 0 values internally
This commit is contained in:
@@ -229,6 +229,7 @@ WMGetColorWellColor(WMColorWell *cPtr)
|
||||
void
|
||||
WSetColorWellBordered(WMColorWell *cPtr, Bool flag)
|
||||
{
|
||||
flag = ((flag==0) ? 0 : 1);
|
||||
if (cPtr->flags.bordered != flag) {
|
||||
cPtr->flags.bordered = flag;
|
||||
W_ResizeView(cPtr->view, cPtr->view->size.width, cPtr->view->size.height);
|
||||
|
||||
Reference in New Issue
Block a user