Re: Bug in put_screen_char
- Posted by Tor Gausen <tor.gausen at C2I.NET> Jun 08, 2000
- 611 views
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?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