summaryrefslogtreecommitdiff
path: root/src/library.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-29 15:34:11 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-29 15:34:11 -0200
commitf00ae32322d2b3c5d97724b80c72d3e2d0812935 (patch)
tree111fbcdf7bab2915d1d178bd55d971a6c85aa270 /src/library.c
parent04641d3cc3e2f7389c5a3ea6e1d55543e033153f (diff)
Janitor: make distcheck, compiler warnings, extra .gitignore files.
Diffstat (limited to 'src/library.c')
-rw-r--r--src/library.c4
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);