Quick and dirty mahjongg patch



For some reason, the "easy" map in mahjongg places the 
farthest right tile half outside the playing area on
my machine.  By changing the line in mahjongg.c:

	gtk_drawing_area_size (GTK_DRAWING_AREA (draw_area),
			       600,
			       480);

to
	gtk_drawing_area_size (GTK_DRAWING_AREA (draw_area),
			       700,
			       480);

enough of the far right tile is revealed that I can
actually play.

It seems like the pile of tiles is being drawn farther to 
the right than it should be.  The pile is well centered 
vertically, just the horizontal alignment is off.

Anyone care to find the True Fix?

-- ebm
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
|  __                         a.k.a. Eric B. Mitchell |
|  |_) .  _  _|      _|  _     ericmit@ix.netcom.com  |
|  | \ ( (_ (_| (_| (_| (/_   www.netcom.com/~ericmit |
| How's My Programming?   Call:  1 - 800 - DEV - NULL |
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]