diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2020-01-08 23:43:15 +0100 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2020-01-10 00:25:31 +0100 |
commit | fbfef7e62afa32f95c6d8e97aba6f13ab3493332 (patch) | |
tree | aeb000bc142c1c21f5d1005d7137fdae610b798f /nx-X11/programs/Xserver/dix/main.c | |
parent | 32b64d7d78a7986d3887c6892dd36be205897d80 (diff) | |
download | nx-libs-fbfef7e62afa32f95c6d8e97aba6f13ab3493332.tar.gz nx-libs-fbfef7e62afa32f95c6d8e97aba6f13ab3493332.tar.bz2 nx-libs-fbfef7e62afa32f95c6d8e97aba6f13ab3493332.zip |
Drawable.c: fix logic broken by scope cleanup
xp must be declared outside the while loop!
xp was reset in each interation despite being increased at the
iteration's end!
To protect against this happening again replace the while loop by a
for loop that references xp.
Bug introduced by d94f472744355c71987d145727aecace1e8455b6
Diffstat (limited to 'nx-X11/programs/Xserver/dix/main.c')
0 files changed, 0 insertions, 0 deletions