aboutsummaryrefslogtreecommitdiff
path: root/X11/extensions/syncconst.h
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-09-02 19:37:05 +0000
committermarha <marha@users.sourceforge.net>2009-09-02 19:37:05 +0000
commit4516291c5cc272655374a74db29e910ea0f3b569 (patch)
treead9356a986d772f776cf905bae7cbc2c1bef9faa /X11/extensions/syncconst.h
parentf66b874a1ab4a89f93d70136f3757f3fd5163a0a (diff)
downloadvcxsrv-4516291c5cc272655374a74db29e910ea0f3b569.tar.gz
vcxsrv-4516291c5cc272655374a74db29e910ea0f3b569.tar.bz2
vcxsrv-4516291c5cc272655374a74db29e910ea0f3b569.zip
Switched to xextproto-7.1.1.tar.gz
Diffstat (limited to 'X11/extensions/syncconst.h')
-rw-r--r--X11/extensions/syncconst.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/X11/extensions/syncconst.h b/X11/extensions/syncconst.h
index 2ad5db7b9..926b60cb7 100644
--- a/X11/extensions/syncconst.h
+++ b/X11/extensions/syncconst.h
@@ -113,7 +113,7 @@ PERFORMANCE OF THIS SOFTWARE.
Bool signb = XSyncValueIsNegative(b);\
((presult)->lo = (a).lo - (b).lo);\
((presult)->hi = (a).hi - (b).hi);\
- if (t>(presult)->lo) (presult)->hi--;\
+ if (t<(presult)->lo) (presult)->hi--;\
*poverflow = ((signa == signb) && !(signa == XSyncValueIsNegative(*presult)));\
}
#define _XSyncMaxValue(pv) ((pv)->hi = 0x7fffffff, (pv)->lo = 0xffffffff)