On 14-12-2011 05:18, Arun Persaud wrote:
Hi
I added a test if strlen>0 and only call gettext in those cases... that
seems to work for me... let me know if this solves the problem.
It is not the right thing to do, because then you will still call
gettext() for engine names. These may by coincidence be equal to a
string with a translation, and then the engine name is changed in the
combo box.
The min field of struct Option is alreday acting as a flag when the
option is a combobox. I suggest adding another flag value to that field
(and maybe define it as a union for clarity/documentation) to indicate
when not to call gettext(). I can it do if you will accept more patches
from me. I did send e-mail to FSF for registration, but their paperwork
may take some time I suppose.
Byrial
_______________________________________________
Bug-XBoard mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-xboard