X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=src%2Fwindows.h;h=4914a27eb49675eb8d76a2261e96b234d6087484;hb=2f0b15e05b0df7e10a2d0bb04ce4648455d980a8;hp=aedb30b12e44030d8e8b949ad9ac56521e13e6d1;hpb=e6a78faa3052eff39bcadcaf81e2e3b5249071a7;p=plomrogue
diff --git a/src/windows.h b/src/windows.h
index aedb30b..4914a27 100644
--- a/src/windows.h
+++ b/src/windows.h
@@ -104,12 +104,13 @@ extern uint8_t init_win_meta(WINDOW * screen, struct WinMeta ** wmeta);
* the window is visible.
*
* Pass 0 for "width" to make the window as wide as the terminal screen. Pass
- * negative values for "width" to make the size so many cells smaller than the
- * terminal screen. Pass 0 for "height" to give the window the maximum allowed
- * height: one cell smaller than the terminal screen. Pass negative values to
- * make the window so many smalls smaller than the terminal screen. The maximum
- * allowed height is also applied for positive values that exceed it or negative
- * values that would reduce the window height < 1 cell.
+ * negative values for "width" to make the width so many cells smaller than that
+ * of the terminal screen. Pass 0 for "height" to give the window the maximum
+ * allowed height: one cell smaller than that of the terminal screen. Pass
+ * negative values to make the window width so many cells smaller than that of
+ * the terminal screen. The maximum allowed height is also applied for positive
+ * values that exceed it or negative values that would reduce the window height
+ * < 1 cell.
*
* Other members of the Win struct are initialized to 0.
*/
@@ -119,7 +120,8 @@ extern uint8_t init_win(struct WinMeta * wmeta, struct Win ** w, char * title,
-/* Free allocated memory for an initialized Win struct. */
+/* Free allocated memory for an initialized Win / WinMeta struct. */
+extern void free_winmeta(struct WinMeta * wmeta);
extern void free_win(struct Win * win);