Bug 000110

When Created: 09/23/1996 08:34:18
Against DJGPP version: 2.00
By whom:
Abstract: row,col swap in grx20/text functions
When writing text on a graphics screen, using Grx20, the (col,row) positioning
system doesn't work as described in the header files. It's more like a 
(row,col) positioning. I tried downloading the 960919 alpha image of but the error was still there.

Solution added: 09/23/1996 08:38:56
By whom:
In file dumptext.c go to about line 59 where you'll find the following code:

	xpos = r->txr_xpos + (row * chrw);
	ypos = r->txr_ypos + (col * chrh);

change it to

	xpos = r->txr_xpos + (col * chrw);
	ypos = r->txr_ypos + (row * chrh);

Note added: 04/20/1999 11:00:59
By whom:
Not a DJGPP bug, so it doesn't belong here.

Closed on 04/20/1999 11:00:00: Non-DJGPP bug
By whom:

  webmaster     delorie software   privacy  
  Copyright 2010   by DJ Delorie     Updated Jul 2010