Mercurial > hg > xemacs-beta
diff src/dialog-msw.c @ 1913:7473844a83d3
[xemacs-hg @ 2004-02-17 15:20:41 by james]
Check in_display instead of passing fallible in_redisplay parameters.
author | james |
---|---|
date | Tue, 17 Feb 2004 15:20:57 +0000 |
parents | a8d8f419b459 |
children | 04bc9d2f42c7 |
line wrap: on
line diff
--- a/src/dialog-msw.c Mon Feb 16 22:51:09 2004 +0000 +++ b/src/dialog-msw.c Tue Feb 17 15:20:57 2004 +0000 @@ -714,8 +714,7 @@ Lisp_Gui_Item *pgui_item = XGUI_ITEM (*gui_item); item_tem.style = (WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_PUSHBUTTON - | (gui_item_active_p (*gui_item, 0) ? 0 : - WS_DISABLED)); + | (gui_item_active_p (*gui_item) ? 0 : WS_DISABLED)); item_tem.cx = button_width (pgui_item->name); /* Item ids are indices into dialog_items plus offset, to avoid having items by reserved ids (IDOK, IDCANCEL) */