mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-22 01:45:46 +01:00
fixed some Bool flags passed to WINgs functions to always set 1 or 0 values internally
This commit is contained in:
@@ -554,6 +554,7 @@ WMSetWindowLevel(WMWindow *win, int level)
|
||||
void
|
||||
WMSetWindowDocumentEdited(WMWindow *win, Bool flag)
|
||||
{
|
||||
flag = ((flag==0) ? 0 : 1);
|
||||
if (win->flags.documentEdited != flag) {
|
||||
win->flags.documentEdited = flag;
|
||||
if (win->view->flags.realized)
|
||||
|
||||
Reference in New Issue
Block a user