summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dbus/dbus-sysdeps-util-win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-sysdeps-util-win.c b/dbus/dbus-sysdeps-util-win.c
index 81fa0ef4..3b308f8c 100644
--- a/dbus/dbus-sysdeps-util-win.c
+++ b/dbus/dbus-sysdeps-util-win.c
@@ -81,7 +81,7 @@ _dbus_get_install_root(char *s, int len)
*s = '\0';
return FALSE;
}
- else if ((p = strstr(s,"\\bin\\")) == NULL)
+ else if ((p = strstr(s,"\\bin\\")))
{
*(p+1)= '\0';
return TRUE;