From f766634577a899f7aa7dbcdddc90700538ab9cde Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Thu, 16 Sep 2010 20:44:37 -0700 Subject: [PATCH] fixed internationalization for winboard in the original commit some files were forgotten. This should fix it. --- args.h | 1 + common.h | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/args.h b/args.h index d59f26c..f142e1a 100644 --- a/args.h +++ b/args.h @@ -545,6 +545,7 @@ ArgDescriptor argDescriptors[] = { { "defaultHashSize", ArgInt, (void *) &appData.defaultHashSize, TRUE, (ArgIniType) 64 }, { "defaultCacheSizeEGTB", ArgInt, (void *) &appData.defaultCacheSizeEGTB, TRUE, (ArgIniType) 4 }, { "defaultPathEGTB", ArgFilename, (void *) &appData.defaultPathEGTB, TRUE, (ArgIniType) "c:\\egtb" }, + { "language", ArgFilename, (void *) &appData.language, TRUE, (ArgIniType) "" }, /* [HGM] board-size, adjudication and misc. options */ { "oneClickMove", ArgBoolean, (void *) &appData.oneClick, TRUE, (ArgIniType) FALSE }, diff --git a/common.h b/common.h index 996badf..fe70ff5 100644 --- a/common.h +++ b/common.h @@ -369,6 +369,7 @@ typedef enum { } typedef struct { + char *language; #if !defined(_amigados) char *whitePieceColor; char *blackPieceColor; -- 1.7.0.4