summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/.gitignore6
-rw-r--r--src/library.c4
2 files changed, 2 insertions, 8 deletions
diff --git a/src/.gitignore b/src/.gitignore
deleted file mode 100644
index 5fa7496..0000000
--- a/src/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-.deps
-.libs
-libXcursor.la
-*.lo
-Makefile
-Makefile.in
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);