X-Git-Url: https://plomlompom.com/repos/index.html?a=blobdiff_plain;f=windows.c;h=3f9cda8c200cba85f50e1bd3f765c9b6ff36267e;hb=9719816eebca3b914d530a751bff6ab3cd7f0daf;hp=d3a895c4d0091f82932a80363418315bc5638897;hpb=de3f09afccf9f14f00785a164f2d21b8c4f12f74;p=plomrogue
diff --git a/windows.c b/windows.c
index d3a895c..3f9cda8 100644
--- a/windows.c
+++ b/windows.c
@@ -185,7 +185,6 @@ void draw_windows (struct Win * win) {
void draw_vertical_scroll_hint (struct WinMeta * win_meta, uint16_t x, uint32_t more_cols, char dir) {
// Draw scroll hint line in win at col x of pad display, announce more_cols more columns in direction dir.
uint16_t y, offset;
- offset = 0;
char phrase[] = "more columns";
char * scrolldesc = malloc((3 * sizeof(char)) + strlen(phrase) + 10); // 10 = max chars for uint32_t string
sprintf(scrolldesc, " %d %s ", more_cols, phrase);