summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorculler <culler>2023-11-28 13:51:13 (GMT)
committerculler <culler>2023-11-28 13:51:13 (GMT)
commitef62d951ba85f8be5b99310f1ba378403eeda260 (patch)
treedc73f9bc9cdc0a0580d599890a7ab4599fc6f8ba
parent727b9a7be6238a5093d0faf6b05cbb8927712658 (diff)
downloadtk-ef62d951ba85f8be5b99310f1ba378403eeda260.zip
tk-ef62d951ba85f8be5b99310f1ba378403eeda260.tar.gz
tk-ef62d951ba85f8be5b99310f1ba378403eeda260.tar.bz2
Fix Windows build
-rw-r--r--win/tkWinX.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinX.c b/win/tkWinX.c
index 2d6fe1b..1841481 100644
--- a/win/tkWinX.c
+++ b/win/tkWinX.c
@@ -1164,7 +1164,7 @@ GenerateXEvent(
event.x.xany.send_event = -1;
event.key.nbytes = 0;
event.x.xkey.state = state;
- event.xany.serial = scrollCounter++;
+ event.x.xany.serial = scrollCounter++;
event.x.xkey.keycode = (unsigned int) delta;
} else {
event.x.type = MouseWheelEvent;
@@ -1195,7 +1195,7 @@ GenerateXEvent(
event.x.xany.send_event = -1;
event.key.nbytes = 0;
event.x.xkey.state = state;
- event.xany.serial = scrollCounter++;
+ event.x.xany.serial = scrollCounter++;
event.x.xkey.keycode = (unsigned int)(-(delta << 16));
} else {
event.x.type = MouseWheelEvent;