Translate widget options.

This commit is contained in:
Steve 2018-07-07 14:47:04 +01:00
parent 23a588f2ef
commit ba1efa90fe
1 changed files with 2 additions and 0 deletions

View File

@ -456,6 +456,8 @@ static void createOptions(Widget *w, char *options)
option = strtok(options, ";");
while (option)
{
option = _(option);
w->options[i] = malloc(strlen(option) + 1);
strcpy(w->options[i], option);