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:
b240a85
)
Minor stylistic consistency correction.
author
Christian Heller
<c.heller@plomlompom.de>
Thu, 25 Jul 2013 20:36:19 +0000
(22:36 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Thu, 25 Jul 2013 20:36:19 +0000
(22:36 +0200)
src/windows.c
patch
|
blob
|
history
diff --git
a/src/windows.c
b/src/windows.c
index 373d2212a1626b11be3f63f0de7e156054dbfe43..46124c5639a8b4c0b984e274adc573d5aa4bf235 100644
(file)
--- a/
src/windows.c
+++ b/
src/windows.c
@@
-575,7
+575,7
@@
extern void draw_scroll_hint(struct Frame * frame, uint16_t pos, uint32_t dist,
unit = unit_cols;
}
char * scrolldsc = malloc((4 * sizeof(char)) + strlen(more) + strlen(unit)
- + 10); /* 10 = uint32 max strlen */
+ + 10);
/* 10 = uint32 max strlen */
sprintf(scrolldsc, " %d %s %s ", dist, more, unit);
/* Decide on offset of the description text inside the scroll hint line. */