Use g_strdup instead of strdup

Cygwin does not seem to have strdup.
This commit is contained in:
Khaled Hosny 2018-10-19 22:21:39 +02:00
parent 30cbe6158d
commit cf92cb7e00
1 changed files with 1 additions and 1 deletions

View File

@ -586,7 +586,7 @@ struct output_options_t : option_group_t
if (output_format) if (output_format)
{ {
output_format++; /* skip the dot */ output_format++; /* skip the dot */
output_format = strdup (output_format); output_format = g_strdup (output_format);
} }
} }