Big sprawling dialog-box commit covering all sorts of things.
[u/mdw/putty] / dialog.c
index ff221c0..e217470 100644 (file)
--- a/dialog.c
+++ b/dialog.c
@@ -329,6 +329,7 @@ union control *ctrl_pushbutton(struct controlset *s,char *label,char shortcut,
     c->button.label = label ? dupstr(label) : NULL;
     c->button.shortcut = shortcut;
     c->button.isdefault = 0;
+    c->button.iscancel = 0;
     return c;
 }