Mathias Weiss <[EMAIL PROTECTED]> writes:


>   while ( 1 )
>     {
>       if ( ( eventMask = ggiEventPoll( visual, emPtrButton | emKeyPress,
> &theTimer ) ) < 0 )

Checking for ggiEventPoll() < 0 does not do anything useful.
ggiEventPoll() returns a ggi_event_mask

//Marcus
-- 
-------------------------------+------------------------------------
        Marcus Sundberg        | http://www.stacken.kth.se/~mackan
 Royal Institute of Technology |       Phone: +46 707 295404
       Stockholm, Sweden       |   E-Mail: [EMAIL PROTECTED]

Reply via email to