Commit d0c05132 authored by David King's avatar David King

Fix comparison against empty string

https://bugzilla.gnome.org/show_bug.cgi?id=782302
parent 67864eb9
......@@ -1110,7 +1110,7 @@ et_browser_select_dir (EtBrowser *self,
while (parts[index]) // it is NULL-terminated
{
if (parts[index] == '\0')
if (*parts[index] == '\0')
{
index++;
continue;
......
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