Rev 4263 | Rev 4581 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4263 | Rev 4327 | ||
---|---|---|---|
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 |