* (_dbus_get_install_root): bug fix
authorRalf Habacker <ralf.habacker@freenet.de>
Fri, 1 Jun 2007 22:12:43 +0000 (22:12 +0000)
committerRalf Habacker <ralf.habacker@freenet.de>
Fri, 1 Jun 2007 22:12:43 +0000 (22:12 +0000)
dbus/dbus-sysdeps-util-win.c

index 81fa0ef..3b308f8 100644 (file)
@@ -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;