From: Christian Heller Date: Fri, 7 Nov 2014 14:39:00 +0000 (+0100) Subject: Client: Repair wrong messages in window geometry configuration dialogue. X-Git-Tag: tce~614 X-Git-Url: https://plomlompom.com/repos/?a=commitdiff_plain;h=e095f19be589e1c128e9121eec25ea82ec64ee64;p=plomrogue Client: Repair wrong messages in window geometry configuration dialogue. --- diff --git a/src/client/draw_wins.c b/src/client/draw_wins.c index ac21e09..f99f2c7 100644 --- a/src/client/draw_wins.c +++ b/src/client/draw_wins.c @@ -466,15 +466,15 @@ extern void draw_winconf_geometry(struct Win * win) char h_value[6 + 1]; /* 6: int16_t value max strlen */ int test = sprintf(h_value, "%d", win->target_height); exit_trouble(test < 0, __func__, "sprintf"); - char * h_plus = " (width in cells)\n\n"; - char * h_minus = " (negative diff: cells to screen width)\n\n"; + char * h_plus = " (height in cells)\n\n"; + char * h_minus = " (non-positive diff: cells to screen height)\n\n"; char * h_type = (1 == win->target_height_type) ? h_minus : h_plus; char * w_title = "Width to save: "; char w_value[6 + 1]; test = sprintf(w_value, "%d", win->target_width); exit_trouble(test < 0, __func__, "sprintf"); - char * w_plus = " (height in cells)\n\n"; - char * w_minus = " (negative diff: cells to screen height)\n\n"; + char * w_plus = " (width in cells)\n\n"; + char * w_minus = " (non-positive diff: cells to screen width)\n\n"; char * w_type = (1 == win->target_width_type) ? w_minus : w_plus; char * breaks_title = "Linebreak type: "; char * breaks_type = (1 == win->linebreak) ? "wide" : "long";