From 252a4922fba180f51464ad83aef1492e65cbd02f Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sun, 5 Dec 2010 13:47:26 +0100 Subject: [PATCH] Add handle for translator acknowledgement An empty string is printed in the about box, which can be 'translated' to a message acknowledging the translator. --- winboard/winboard.c | 2 +- winboard/winboard.rc | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/winboard/winboard.c b/winboard/winboard.c index 439df1b..58759e7 100644 --- a/winboard/winboard.c +++ b/winboard/winboard.c @@ -248,7 +248,7 @@ Boolean barbaric; // flag indicating if translation is needed #define ABOUTBOX2 -1 int dialogItems[][40] = { -{ ABOUTBOX, IDOK, 400 }, +{ ABOUTBOX, IDOK, OPT_MESS, 400 }, { DLG_TimeControl, IDC_Babble, OPT_TCUseMoves, OPT_TCUseInc, OPT_TCUseFixed, OPT_TCtext1, OPT_TCtext2, OPT_TCitext1, OPT_TCitext2, OPT_TCftext, GPB_Factors, IDC_Factor1, IDC_Factor2, IDOK, IDCANCEL }, { DLG_LoadOptions, OPT_Autostep, OPT_AStext1, IDOK, IDCANCEL }, diff --git a/winboard/winboard.rc b/winboard/winboard.rc index 5bda4ec..23d7c23 100644 --- a/winboard/winboard.rc +++ b/winboard/winboard.rc @@ -50,8 +50,7 @@ BEGIN LTEXT "WinBoard 0.0.0",ABOUTBOX_Version,25,5,160,8 LTEXT "Enhancements Copyright 2005\r\nAlessandro Scotti", IDC_STATIC,6,65,120,24 - LTEXT "", - OPT_MESS,6,85,120,16 + LTEXT " ", OPT_MESS,6,85,120,16 END DLG_TimeControl DIALOG DISCARDABLE 6, 18, 263, 212 -- 1.7.0.4