home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de3f09a
)
Removed unneeded line.
author
Christian Heller
<c.heller@plomlompom.de>
Mon, 10 Jun 2013 07:31:05 +0000
(09:31 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Mon, 10 Jun 2013 07:31:05 +0000
(09:31 +0200)
windows.c
patch
|
blob
|
history
diff --git
a/windows.c
b/windows.c
index d3a895c4d0091f82932a80363418315bc5638897..3f9cda8c200cba85f50e1bd3f765c9b6ff36267e 100644
(file)
--- 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);