Mistaken identity in sesssaver() was breaking saved-session edit box
[u/mdw/putty] / windlg.c
index bdd2d2f..14a60e8 100644 (file)
--- a/windlg.c
+++ b/windlg.c
@@ -795,7 +795,7 @@ static void sesssaver(struct ctlpos *cp, char *text,
     doctl(cp, r, "EDIT",
           WS_CHILD | WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL,
           WS_EX_CLIENTEDGE,
-          "", staticid);
+          "", editid);
 
     /*
      * The buttons (we should hold off on the list box until we