Re: Bug in put_screen_char

new topic     » goto parent     » topic index » view thread      » older message » newer message

Dear Brian,

> Since 'overflow' will never be less than zero, the above statements are
> equivalent.  (zero=false, non-zero=true)

Have you actually studied this or are you just making an
expert's qualified guess? blink

The problem is that 'overflow' is ALWAYS negative (necessarily
resulting in a slicing error), unless you are trying to put a
char outside the screen, in which case the clipping works just
fine!

But sometimes it's nice with chars INSIDE the screen too...

Thanks,
Tor

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu