X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fwindows.c;h=46124c5639a8b4c0b984e274adc573d5aa4bf235;hb=93bc319c3b6790f580c6fb17bf08f80713ce16c5;hp=373d2212a1626b11be3f63f0de7e156054dbfe43;hpb=b240a859a6bb5dffc4ddf5ff56130b970bd6e069;p=plomrogue diff --git a/src/windows.c b/src/windows.c index 373d221..46124c5 100644 --- 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. */