Rev 4201 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4201 | Rev 4296 | ||
---|---|---|---|
Line 278... | Line 278... | ||
278 | */ |
278 | */ |
279 | void |
279 | void |
280 | scr_msg(char *s, int set) |
280 | scr_msg(char *s, int set) |
281 | { |
281 | { |
282 | 282 | ||
283 | int l = strlen(s); |
283 | int l = str_size(s); |
284 | 284 | ||
285 | moveto(Rows - 2, ((Cols - l) >> 1) - 1); |
285 | moveto(Rows - 2, ((Cols - l) >> 1) - 1); |
286 | if (set) |
286 | if (set) |
287 | putstr(s); |
287 | putstr(s); |
288 | else |
288 | else |