X-Git-Url: https://plomlompom.com/repos/index.html?a=blobdiff_plain;f=windows.c;h=7e1180925549ec4587e68f0ece6d231be9a8388a;hb=c29af0467dbd947c926d0052b729e48fa641d05e;hp=28c658a98d273d07e5876368b2960e495336d4f5;hpb=b5a0fd1d2cc0c53f44fb93cc3b757aab0a797768;p=plomrogue
diff --git a/windows.c b/windows.c
index 28c658a..7e11809 100644
--- a/windows.c
+++ b/windows.c
@@ -94,7 +94,7 @@ void update_windows (struct WinMeta * win_meta, struct Win * win) {
update_windows (win_meta, win->next); }
void destroy_window (struct Win * win) {
-// Undraw and delete window.
+// Delete window.
delwin(win->curses_win);
win->curses_win = 0; }
@@ -161,10 +161,10 @@ void draw_all_windows (struct WinMeta * win_meta) {
draw_windows_borders (win_meta->chain_start, win_meta->active, all_corners, 0);
draw_windows (win_meta->chain_start);
for (y = 0; y < n_wins; y++) {
- mvaddch(all_corners[y].tl.y, all_corners[y].tl.x, 'o');
- mvaddch(all_corners[y].tr.y, all_corners[y].tr.x, 'o');
- mvaddch(all_corners[y].bl.y, all_corners[y].bl.x, 'o');
- mvaddch(all_corners[y].br.y, all_corners[y].br.x, 'o'); }
+ mvaddch(all_corners[y].tl.y, all_corners[y].tl.x, '+');
+ mvaddch(all_corners[y].tr.y, all_corners[y].tr.x, '+');
+ mvaddch(all_corners[y].bl.y, all_corners[y].bl.x, '+');
+ mvaddch(all_corners[y].br.y, all_corners[y].br.x, '+'); }
free(all_corners); } }
void draw_window(struct Win * win) {