From: Christian Heller Date: Mon, 21 Oct 2013 02:08:34 +0000 (+0200) Subject: More precise description of what draw_text_from_bottom() does. X-Git-Tag: tce~941 X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/reset_cookie?a=commitdiff_plain;h=9544dd88fb74d3de9d966ef88d2f4a2f853e3faf;p=plomrogue More precise description of what draw_text_from_bottom() does. --- diff --git a/src/draw_wins.c b/src/draw_wins.c index f86971c..ac48bdc 100644 --- a/src/draw_wins.c +++ b/src/draw_wins.c @@ -35,8 +35,8 @@ static void draw_with_linebreaks(struct Win * win, char * text, static void draw_line(struct Win * w, uint16_t y, char * line, attr_t attri, uint8_t fill); -/* Write "text" with draw_with_linebreaks() as not starting from the top - * but from the bottom of "win". +/* Write "text" with draw_with_linebreaks() as not starting from the top but + * from bottom of "win". Draw only what fits in window (avoid scroll hints). */ static void draw_text_from_bottom(struct Win * win, char * text);