projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Now that we have `appname', make much wider use of it. In
[u/mdw/putty]
/
winctrls.c
diff --git
a/winctrls.c
b/winctrls.c
index
204bc4a
..
7f503c9
100644
(file)
--- a/
winctrls.c
+++ b/
winctrls.c
@@
-2458,7
+2458,7
@@
void dp_init(struct dlgparam *dp)
dp->focused = dp->lastfocused = NULL;
memset(dp->shortcuts, 0, sizeof(dp->shortcuts));
dp->hwnd = NULL;
dp->focused = dp->lastfocused = NULL;
memset(dp->shortcuts, 0, sizeof(dp->shortcuts));
dp->hwnd = NULL;
- dp->errtitle = NULL;
+ dp->
wintitle = dp->
errtitle = NULL;
dp->privdata = newtree234(perctrl_privdata_cmp);
}
dp->privdata = newtree234(perctrl_privdata_cmp);
}
@@
-2482,6
+2482,8
@@
void dp_cleanup(struct dlgparam *dp)
freetree234(dp->privdata);
dp->privdata = NULL;
}
freetree234(dp->privdata);
dp->privdata = NULL;
}
+ sfree(dp->wintitle);
+ sfree(dp->errtitle);
}
void *dlg_get_privdata(union control *ctrl, void *dlg)
}
void *dlg_get_privdata(union control *ctrl, void *dlg)