freebasic rtlib console "screen" !BUG!

Windows specific questions.
Post Reply
Mysoft
Posts: 842
Joined: Jul 28, 2005 13:56
Location: Brazil, Santa Catarina, Indaial (ouch!)
Contact:

freebasic rtlib console "screen" !BUG!

Post by Mysoft »

ok... there's a bug in freebasic rtlib in windows

at src/rtlib/win32/io_readxy.c

Code: Select all

  TCHAR character;
  WORD attribute;
both should be initialized to 0... because if the ReadConsoleOutput* function fails, it's returning unintialized garbage instead of the 0 (to be consistent with behavior of gfx counterpart)
Post Reply