Browse Source

default to $timeout = 0 in Display::getEvent()

tags/v0.99.beta17
Ben Wiley Sittler bsittler 16 years ago
parent
commit
d9d23767d4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      caca-php/caca.php

+ 1
- 1
caca-php/caca.php View File

@@ -444,7 +444,7 @@ class Display {
return caca_set_mouse($this->dp, $state); return caca_set_mouse($this->dp, $state);
} }


function getEvent($t, $timeout) {
function getEvent($t, $timeout = 0) {
$ev = caca_get_event($this->dp, $t, $timeout); $ev = caca_get_event($this->dp, $t, $timeout);
if(! $ev) { if(! $ev) {
return NULL; return NULL;


Loading…
Cancel
Save