diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2021-05-03 20:25:43 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2021-05-05 20:25:26 -0400 |
commit | f807ac9c786714ef4e86ad7edfa60f92baf0b4a6 (patch) | |
tree | 40b02cd21e011be2ffb9fb2c1fef897446b6da3d /src/xlib.c | |
parent | 13ca987eafed426d5347bafdf274ad59e2641650 (diff) |
cppcheck style-fixes
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/xlib.c')
-rw-r--r-- | src/xlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -32,7 +32,6 @@ _XcursorFontIsCursor (Display *dpy, Font font) XcursorDisplayInfo *info; XcursorBool ret; XFontStruct *fs; - int n; Atom cursor; if (!dpy || !font) @@ -57,6 +56,7 @@ _XcursorFontIsCursor (Display *dpy, Font font) fs = XQueryFont (dpy, font); if (fs) { + int n; cursor = XInternAtom (dpy, "cursor", False); for (n = 0; n < fs->n_properties; n++) if (fs->properties[n].name == XA_FONT) |