diff options
Diffstat (limited to 'src/library.c')
-rw-r--r-- | src/library.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library.c b/src/library.c index c5aeef4..86f2d76 100644 --- a/src/library.c +++ b/src/library.c @@ -232,7 +232,7 @@ XcursorScanTheme (const char *theme, const char *name) * Scan this theme */ for (path = XcursorLibraryPath (); - path && f == 0; + path && f == NULL; path = _XcursorNextPath (path)) { dir = _XcursorBuildThemeDir (path, theme); @@ -259,7 +259,7 @@ XcursorScanTheme (const char *theme, const char *name) /* * Recurse to scan inherited themes */ - for (i = inherits; i && f == 0; i = _XcursorNextPath (i)) + for (i = inherits; i && f == NULL; i = _XcursorNextPath (i)) f = XcursorScanTheme (i, name); if (inherits != NULL) free (inherits); |