Diff of /main/trunk/interpreter/api/ThreadContextStubs.cpp [r7687] .. [r7688] Maximize Restore

  Switch to side-by-side view

--- a/main/trunk/interpreter/api/ThreadContextStubs.cpp
+++ b/main/trunk/interpreter/api/ThreadContextStubs.cpp
@@ -1768,6 +1768,19 @@
     return false;
 }
 
+wholenumber_t RexxEntry DisplayCondition(RexxThreadContext *c)
+{
+    ApiContext context(c);
+    try
+    {
+        return context.activity->displayCondition(context.context->getConditionInfo());
+    }
+    catch (RexxNativeActivation *)
+    {
+    }
+    return Error_Interpretation/1000;   // this is a default one if something goes wrong
+}
+
 RexxDirectoryObject RexxEntry GetConditionInfo(RexxThreadContext *c)
 {
     ApiContext context(c);
@@ -1953,4 +1966,5 @@
     OREF_NULL,
     OREF_NULL,
     ObjectToCSelfScoped,
+    DisplayCondition,
 };