add: flag = ((flag==0) ? 0 : 1);
context: WMSetWindowDocumentEdited(WMWindow *win, Bool flag){    if (win->flags.documentEdited != flag) {	win->flags.documentEdited = flag;	if (win->view->flags.realized)	    setWindowMakerHints(win);    }}