Commit c71a8c12 authored by Shaun McCance's avatar Shaun McCance

Check against SOUP_URI_SCHEME_FILE instead of str comparison

parent 8cf0a546
......@@ -32,7 +32,7 @@ build_network_uri (const gchar *uri)
soup_uri = soup_uri_new (uri);
/* Don't mangle URIs for local files */
if (g_str_equal (soup_uri->scheme, "file"))
if (soup_uri->scheme == SOUP_URI_SCHEME_FILE)
return g_strdup (uri);
/* Build the URI that will be passed to WebKit. Relative URIs will be
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