1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-17 06:35:47 +01:00

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

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

View File

@@ -192,6 +192,7 @@ WMSetLabelTextColor(WMLabel *lPtr, WMColor *color)
void
WMSetLabelWraps(WMLabel *lPtr, Bool flag)
{
flag = ((flag==0) ? 0 : 1);
if (lPtr->flags.noWrap != !flag) {
lPtr->flags.noWrap = !flag;
if (lPtr->view->flags.realized)