diff src/help.cc @ 2692:25fbbe6074e9

[project @ 1997-02-18 09:49:11 by jwe]
author jwe
date Tue, 18 Feb 1997 09:49:12 +0000
parents f7e3d23f0a8f
children 13f134a00f12
line wrap: on
line diff
--- a/src/help.cc	Tue Feb 18 09:40:56 1997 +0000
+++ b/src/help.cc	Tue Feb 18 09:49:12 1997 +0000
@@ -560,7 +560,7 @@
   octave_set_interrupt_handler (old_interrupt_handler);
 
   if ((status & 0xff) == 0)
-    status = (signed char) ((status & 0xff00) >> 8);
+    status = (status >> 8) & 0xff;
   else
     status = 127;