Use g_strdup instead of strdup

Cygwin does not seem to have strdup.
This commit is contained in:
Khaled Hosny committed 2018-10-19 22:46:40 +02:00
1 parent 30cbe6158d
commit cf92cb7e00
1 file changed
+1 -1
+1 -1
View File
@@ -586,7 +586,7 @@ struct output_options_t : option_group_t
if (output_format)
{
output_format++; /* skip the dot */
output_format = strdup (output_format);
output_format = g_strdup (output_format);
}
}