2012-11-28 22:22:46 +01:00
|
|
|
|
---
|
|
|
|
|
modules/clx/new-clx/clx.f | 6 ++++--
|
|
|
|
|
1 file changed, 4 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
|
|
--- a/modules/clx/new-clx/clx.f
|
|
|
|
|
+++ b/modules/clx/new-clx/clx.f
|
|
|
|
|
@@ -1721,7 +1721,8 @@ static void general_lookup (object type)
|
2007-01-24 16:18:32 +01:00
|
|
|
|
DEFUN(XLIB:##L##-ID,xxx) \
|
|
|
|
|
{ VALUES1(make_uint29((XID)get_##c (popSTACK()))); } \
|
|
|
|
|
DEFUN(XLIB:##L##-EQUAL,xxx yyy) \
|
|
|
|
|
- { VALUES_IF(get_##c (popSTACK()) == get_##c (popSTACK())); } \
|
|
|
|
|
+ { object _last = popSTACK(); \
|
|
|
|
|
+ VALUES_IF(get_##c (popSTACK()) == get_##c (_last)); } \
|
|
|
|
|
DEFUN(XLIB:LOOKUP-##L,display xxx) \
|
|
|
|
|
{ general_lookup (`XLIB::##L##`); }
|
|
|
|
|
|
2012-11-28 22:22:46 +01:00
|
|
|
|
@@ -1738,7 +1739,8 @@ static void general_lookup (object type)
|
2007-01-24 16:18:32 +01:00
|
|
|
|
DEFUN(XLIB:##L##-P,xxx) \
|
|
|
|
|
{ VALUES_IF(c##_p (popSTACK())); } \
|
|
|
|
|
DEFUN(XLIB:##L##-EQUAL,xxx yyy) \
|
|
|
|
|
- { VALUES_IF(get_##c (popSTACK()) == get_##c (popSTACK())); }
|
|
|
|
|
+ { object _last = popSTACK(); \
|
|
|
|
|
+ VALUES_IF(get_##c (popSTACK()) == get_##c (_last)); }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* -----------------------------------------------------------------------
|