home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
66f67a2
)
Client: Repair wrong messages in window geometry configuration dialogue.
author
Christian Heller
<c.heller@plomlompom.de>
Fri, 7 Nov 2014 14:39:00 +0000
(15:39 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Fri, 7 Nov 2014 14:39:00 +0000
(15:39 +0100)
src/client/draw_wins.c
patch
|
blob
|
history
diff --git
a/src/client/draw_wins.c
b/src/client/draw_wins.c
index ac21e09d5f30b6b4537ad12d53a2376a7b5e2417..f99f2c77204a9add681a8f5ab8690d6b4e94122a 100644
(file)
--- 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_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 = " (n
egative diff: cells to screen width
)\n\n";
+ char * h_plus = " (
height
in cells)\n\n";
+ char * h_minus = " (n
on-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 * 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 = " (n
egative diff: cells to screen height
)\n\n";
+ char * w_plus = " (
width
in cells)\n\n";
+ char * w_minus = " (n
on-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";
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";