note 93952 rejected from newt.examples-usage by danbrown
| From: | danbrown@php.net | Date: | Thu, 08 Oct 2009 13:19:00 +0000 |
| Subject: | note 93952 rejected from newt.examples-usage by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-161505@lists.php.net to get a copy of this message | ||
Note Submitter: alex at ipworkshop dot ro
----
There is a little mistake in this example, the line
newt_get_screen_size ($rows, $cols);
should be
newt_get_screen_size (&$rows, &$cols);
as $cols and $rows should be passed as reference, not as value.