diff options
Diffstat (limited to 'games/maelstrom-sdl/patches/patch-ah')
-rw-r--r-- | games/maelstrom-sdl/patches/patch-ah | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/games/maelstrom-sdl/patches/patch-ah b/games/maelstrom-sdl/patches/patch-ah new file mode 100644 index 00000000000..92340be7b06 --- /dev/null +++ b/games/maelstrom-sdl/patches/patch-ah @@ -0,0 +1,31 @@ +$NetBSD: patch-ah,v 1.1 2006/02/23 18:20:03 joerg Exp $ + +--- buttonlist.h.orig 2006-02-23 18:09:09.000000000 +0000 ++++ buttonlist.h +@@ -16,7 +16,7 @@ public: + + void Add_Button(Uint16 x, Uint16 y, Uint16 width, Uint16 height, + void (*callback)(void)) { +- struct button *belem; ++ button *belem; + + for ( belem=&button_list; belem->next; belem=belem->next ); + belem->next = new button; +@@ -30,7 +30,7 @@ public: + } + + void Activate_Button(Uint16 x, Uint16 y) { +- struct button *belem; ++ button *belem; + + for ( belem=button_list.next; belem; belem=belem->next ) { + if ( (x >= belem->x1) && (x <= belem->x2) && +@@ -42,7 +42,7 @@ public: + } + + void Delete_Buttons(void) { +- struct button *belem, *btemp; ++ button *belem, *btemp; + + for ( belem=button_list.next; belem; ) { + btemp = belem; |