From: H.G. Muller Date: Tue, 10 Apr 2012 18:28:45 +0000 (+0200) Subject: Fix Engine Output icon heights in international versions X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=a3bc8bca7a7781d4468cd820e891b3989fc48612;p=xboard.git 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. --- 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, "" },