diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2021-05-06 20:10:41 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2021-05-06 20:12:37 -0400 |
commit | 801925839d26e7c8d942c5e02c4897652ead26c8 (patch) | |
tree | 620b12cc8f7e31f8687407854983e9857e1ca983 /src/cursor.c | |
parent | f807ac9c786714ef4e86ad7edfa60f92baf0b4a6 (diff) |
more cppcheck-style fixes
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/cursor.c')
-rw-r--r-- | src/cursor.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cursor.c b/src/cursor.c index 9f0442c..8dd61a0 100644 --- a/src/cursor.c +++ b/src/cursor.c @@ -91,6 +91,7 @@ XcursorAnimateNext (XcursorAnimate *animate) return cursor; } +#if RENDER_MAJOR > 0 || RENDER_MINOR >= 5 static int nativeByteOrder (void) { @@ -98,6 +99,7 @@ nativeByteOrder (void) return (*((char *) &x) == 1) ? LSBFirst : MSBFirst; } +#endif static XcursorUInt _XcursorPixelBrightness (XcursorPixel p) |