diff options
author | David Robillard <d@drobilla.net> | 2020-03-15 14:49:00 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-03-15 14:49:00 +0100 |
commit | 8a867c60e15d40c568107d5201aba2b7d331af26 (patch) | |
tree | 6d811d7b66f33eeaa232cbec43a0d17a42f11599 | |
parent | b5d89e71c93024b4bbd1dab6a80478f0efdb0a91 (diff) | |
download | pugl-8a867c60e15d40c568107d5201aba2b7d331af26.tar.gz pugl-8a867c60e15d40c568107d5201aba2b7d331af26.tar.bz2 pugl-8a867c60e15d40c568107d5201aba2b7d331af26.zip |
Cleanup: Fix misleading variable name
-rw-r--r-- | pugl/detail/x11.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pugl/detail/x11.c b/pugl/detail/x11.c index 7a29801..6fbe36a 100644 --- a/pugl/detail/x11.c +++ b/pugl/detail/x11.c @@ -131,8 +131,8 @@ puglPollEvents(PuglWorld* world, const double timeout) ret = select(nfds, &fds, NULL, NULL, NULL); } else { const long sec = (long)timeout; - const long msec = (long)((timeout - (double)sec) * 1e6); - struct timeval tv = {sec, msec}; + const long usec = (long)((timeout - (double)sec) * 1e6); + struct timeval tv = {sec, usec}; ret = select(nfds, &fds, NULL, NULL, &tv); } |