freebsd-ports/games/noegnud-littlehack/files/patch-noegnud_noegnud_gui.c
Martin Wilke 1f71de60b9 - Unbreak
- Fix build with gcc 4.2

PR:		116822
		116823
		116824
		116828
Submitted by:	miwi
Approved by:	maintainer
2007-10-09 23:09:55 +00:00

11 lines
563 B
C

--- noegnud/noegnud_gui.c.orig 2007-10-02 14:32:19.000000000 +0200
+++ noegnud/noegnud_gui.c 2007-10-02 14:32:30.000000000 +0200
@@ -627,7 +627,7 @@
//button=(noegnud_gui_tbutton *)noegnud_gui_create_window(parent,x,y,width,height,(sizeof(noegnud_gui_twindow)-sizeof(noegnud_gui_twidget))+datasize);
text=noegnud_gui_create_text(
- (noegnud_gui_twidget *)button=(noegnud_gui_tbutton *)noegnud_gui_create_window(
+ button=(noegnud_gui_tbutton *)noegnud_gui_create_window(
parent,
x,y,
width,height,