parse_cmdline_option() keeps unknown command line options in the
all_lines list. A trailing option such as -G reaches this path without
a value, which passed NULL to my_strdup() and crashed before the GUI
could start.
Store an empty string when no value is present so argument-less
options can still be represented in the saved option list.
u->option = xmalloc (TCHAR, 2);
u->option[0] = c;
u->option[1] = 0;
- u->value = my_strdup (arg);
+ u->value = my_strdup (arg ? arg : _T(""));
u->next = p->all_lines;
p->all_lines = u;