Page 1 of 1

Internationalization broke something?

PostPosted: 14 Sep 2010, 09:42
by vsoljan
After introducing translation in WB (last master 20100901) i get following error messages in Dev-C++ compiler:

-----------------------------------------------
winboard.c: In function `InitInstance':
winboard.c:977: error: structure has no member named `language'

winboard.c: In function `PopUpStartupDialog':
winboard.c:1508: error: structure has no member named `language'

make.exe: *** [objs/winboard.o] Error 1

Execution terminated
-----------------------------------------------

Snapshot before internationalization compiles ok.

Re: Internationalization broke something?

PostPosted: 16 Sep 2010, 18:19
by H.G.Muller
You are right. I forgot to commit args.h, which defined the /language option, and common.h, which defined the new field of appData to hold the setting of it together with all the other changes.

Should be fixed now (on hgm.nubati.net, hgm5 branch); I amended the internationalization commit.