Commit 6e979685 authored by Michael Natterer's avatar Michael Natterer 😴

app: more g_strcmp0()

parent 8cefb291
......@@ -167,7 +167,7 @@ gimp_xml_parser_parse_io_channel (GimpXmlParser *parser,
g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
io_encoding = g_io_channel_get_encoding (io);
if (io_encoding && strcmp (io_encoding, "UTF-8"))
if (g_strcmp0 (io_encoding, "UTF-8"))
{
g_warning ("gimp_xml_parser_parse_io_channel():\n"
"The encoding has already been set on this GIOChannel!");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment