georg           Tue Jan  1 15:47:35 2002 EDT

  Modified files:              
    /phpdoc/en/functions        ncurses.xml 
  Log:
  
  typos fixed
  
  
Index: phpdoc/en/functions/ncurses.xml
diff -u phpdoc/en/functions/ncurses.xml:1.5 phpdoc/en/functions/ncurses.xml:1.6
--- phpdoc/en/functions/ncurses.xml:1.5 Sun Dec 30 13:58:08 2001
+++ phpdoc/en/functions/ncurses.xml     Tue Jan  1 15:47:34 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
  <reference id="ref.ncurses">
   <title>Ncurses terminal screen control functions</title>
   <titleabbrev>ncurses functions</titleabbrev>
@@ -2681,11 +2681,10 @@
     </funcsynopsis>
      &warn.experimental.func;
     <para>
-     <function>ncurses_getmouse</function> reads mouse event a pop
-     event out of queue. Function
-     <function>ncurses_getmouse</function> will return ;&false; if a
-     mouse event is actually visible in the given window, otherwise it
-     will return &true;.
+     <function>ncurses_getmouse</function> reads mouse event out of
+     queue. Function <function>ncurses_getmouse</function> will return
+     ;&false; if a mouse event is actually visible in the given
+     window, otherwise it will return &true;.
      Event options will be delivered in parameter
      <parameter>mevent</parameter>, which has to be an array, passed
      by reference (see example below).
@@ -2703,10 +2702,6 @@
      </itemizedlist>
     </para>
     <para>
-    <function>ncurses_getmouse</function> returns &false; on
-    success, otherwise &true;.
-    </para>
-    <para>
     <example>
       <title><function>ncurses_getmouse</function> example</title>
       <programlisting role="php">
@@ -2714,7 +2709,7 @@
 
 switch (ncurses_getch){
   case NCURSES_KEY_MOUSE:
-    if (!ncurses_getmouse($mevent)){
+    if (!ncurses_getmouse(&$mevent)){
       if ($mevent["mmask"] & NCURSES_MOUSE_BUTTON1_PRESSED){
         $mouse_x = $mevent["x"]; // Save mouse position
         $mouse_y = $mevent["y"];


Reply via email to