/[packages]/cauldron/Maelstrom/current/SOURCES/Maelstrom-3.0.6-gcc3.4.patch
ViewVC logotype

Contents of /cauldron/Maelstrom/current/SOURCES/Maelstrom-3.0.6-gcc3.4.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 204974 - (show annotations) (download)
Sun Feb 5 20:12:59 2012 UTC (12 years, 2 months ago) by luigiwalser
File size: 802 byte(s)
imported package Maelstrom
1 --- Maelstrom-3.0.6/buttonlist.h~ 2000-01-25 17:41:32.000000000 +0100
2 +++ Maelstrom-3.0.6/buttonlist.h 2004-06-07 15:53:49.732289578 +0200
3 @@ -16,7 +16,7 @@
4
5 void Add_Button(Uint16 x, Uint16 y, Uint16 width, Uint16 height,
6 void (*callback)(void)) {
7 - struct button *belem;
8 + button *belem;
9
10 for ( belem=&button_list; belem->next; belem=belem->next );
11 belem->next = new button;
12 @@ -30,7 +30,7 @@
13 }
14
15 void Activate_Button(Uint16 x, Uint16 y) {
16 - struct button *belem;
17 + button *belem;
18
19 for ( belem=button_list.next; belem; belem=belem->next ) {
20 if ( (x >= belem->x1) && (x <= belem->x2) &&
21 @@ -42,7 +42,7 @@
22 }
23
24 void Delete_Buttons(void) {
25 - struct button *belem, *btemp;
26 + button *belem, *btemp;
27
28 for ( belem=button_list.next; belem; ) {
29 btemp = belem;

  ViewVC Help
Powered by ViewVC 1.1.30