home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improved error handling, more error catching, error messages.
[plomrogue]
/
src
/
windows.c
diff --git
a/src/windows.c
b/src/windows.c
index df67411da45ef6d7010b0dadea3e38c5a5f3b362..389637b31b357e19bf6dfa886db749b257b944ca 100644
(file)
--- a/
src/windows.c
+++ b/
src/windows.c
@@
-440,6
+440,14
@@
extern uint8_t init_win(struct WinMeta * wmeta, struct Win ** wp, char * title,
+extern void free_winmeta(struct WinMeta * wmeta)
+{
+ delwin(wmeta->padframe.curses_win);
+ free(wmeta);
+}
+
+
+
extern void free_win(struct Win * win)
{
if (0 != win->frame.curses_win)