fixed some Bool flags passed to WINgs functions to always set 1 or 0 values internally

This commit is contained in:
dan committed 2002-03-28 04:20:30 +00:00
1 parent 208ee16849
commit e4a53ba71e
21 files changed
+36 -27

No files matched your search

+1
View File
@@ -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);