From a3bc8bca7a7781d4468cd820e891b3989fc48612 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Tue, 10 Apr 2012 20:28:45 +0200 Subject: [PATCH] Fix Engine Output icon heights in international versions The text in a label option could not be an empty string, or it would be 'translated' to something of enormous size. So it is set to a space now. --- nengineoutput.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nengineoutput.c b/nengineoutput.c index 814a886..201eb3d 100644 --- a/nengineoutput.c +++ b/nengineoutput.c @@ -70,16 +70,16 @@ int windowMode = 1; char *mem1, *mem2; // dummies, as this dialog can never be OK'ed Option engoutOptions[] = { -{ 0, LL|T2T, 17, NULL, NULL, "", NULL, Label, "" }, +{ 0, LL|T2T, 17, NULL, NULL, NULL, NULL, Label, " " }, { 0, L2L|T2T|SAME_ROW, 163, NULL, NULL, NULL, NULL, Label, N_("engine name") }, -{ 0, T2T|SAME_ROW, 30, NULL, NULL, "", NULL, Label, "" }, +{ 0, T2T|SAME_ROW, 30, NULL, NULL, NULL, NULL, Label, " " }, { 0, R2R|T2T|SAME_ROW, 188, NULL, NULL, NULL, NULL, Label, N_("move") }, { 0, RR|T2T|SAME_ROW, 80, NULL, NULL, NULL, NULL, Label, N_("NPS") }, {200, T_VSCRL | T_TOP, 500, NULL, (void*) &mem1, "", NULL, TextBox, "" }, { 0, 0, 0, NULL, NULL, "", NULL, Break , "" }, -{ 0, LL|T2T, 17, NULL, NULL, "", NULL, Label, "" }, +{ 0, LL|T2T, 17, NULL, NULL, NULL, NULL, Label, " " }, { 0, L2L|T2T|SAME_ROW, 163, NULL, NULL, NULL, NULL, Label, N_("engine name") }, -{ 0, T2T|SAME_ROW, 30, NULL, NULL, "", NULL, Label, "" }, +{ 0, T2T|SAME_ROW, 30, NULL, NULL, NULL, NULL, Label, " " }, { 0, R2R|T2T|SAME_ROW, 188, NULL, NULL, NULL, NULL, Label, N_("move") }, { 0, RR|T2T|SAME_ROW, 80, NULL, NULL, NULL, NULL, Label, N_("NPS") }, {200, T_VSCRL | T_TOP, 500, NULL, (void*) &mem2, "", NULL, TextBox, "" }, -- 1.7.0.4