summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cursor/load_cursor.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cursor/load_cursor.c b/cursor/load_cursor.c
index bffd3cd..c8d587b 100644
--- a/cursor/load_cursor.c
+++ b/cursor/load_cursor.c
@@ -91,7 +91,6 @@ _XcursorThemeInherits (const char *full)
if (!strncmp (line, "Inherits", 8))
{
char *l = line + 8;
- char *r;
while (*l == ' ') l++;
if (*l != '=') continue;
l++;
@@ -99,7 +98,7 @@ _XcursorThemeInherits (const char *full)
result = malloc (strlen (l) + 1);
if (result)
{
- r = result;
+ char *r = result;
while (*l)
{
while (XcursorSep(*l) || XcursorWhite (*l)) l++;