diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2021-03-11 18:28:05 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2021-03-11 20:25:40 -0500 |
commit | fb377b9a71dbc0a6d52d61eed4d47f99bb06d584 (patch) | |
tree | 14f366336a585782bbaa15b2b6a21b5e2a62923e /src/cursor.c | |
parent | 362fdcfc3ed7fd0841c48c2a7b6f3fc3af5d5cdb (diff) |
amend that...
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, 1 insertions, 1 deletions
diff --git a/src/cursor.c b/src/cursor.c index 490ca20..9f0442c 100644 --- a/src/cursor.c +++ b/src/cursor.c @@ -428,7 +428,7 @@ _XcursorFloydSteinberg (const XcursorImage *image, XcursorCoreCursor *core) n = (int) npixels; max_inten = 0; min_inten = 0xff; - while (n-- >= 0) + while (n-- > 0) { p = *pixel++; *aP++ = (int) (p >> 24); |