graph_gui.c
changeset 2475 8443e1eefe1b
parent 2458 c95808cd2ac9
child 2482 dffcca243dbc
--- a/graph_gui.c	Fri Sep 30 09:58:59 2005 +0000
+++ b/graph_gui.c	Fri Sep 30 20:37:25 2005 +0000
@@ -219,7 +219,7 @@
 
 static void GraphLegendWndProc(Window *w, WindowEvent *e)
 {
-	Player *p;
+	const Player* p;
 
 	switch(e->event) {
 	case WE_PAINT:
@@ -291,7 +291,7 @@
 
 static void SetupGraphDrawerForPlayers(GraphDrawer *gd)
 {
-	Player *p;
+	const Player* p;
 	uint excludebits = _legend_excludebits;
 	int nums;
 	int mo,yr;
@@ -325,7 +325,7 @@
 	switch(e->event) {
 	case WE_PAINT: {
 		GraphDrawer gd;
-		Player *p;
+		const Player* p;
 		int i,j;
 		int numd;
 
@@ -399,7 +399,7 @@
 	switch(e->event) {
 	case WE_PAINT: {
 		GraphDrawer gd;
-		Player *p;
+		const Player* p;
 		int i,j;
 		int numd;
 
@@ -472,7 +472,7 @@
 	switch(e->event) {
 	case WE_PAINT: {
 		GraphDrawer gd;
-		Player *p;
+		const Player* p;
 		int i,j;
 		int numd;
 
@@ -545,7 +545,7 @@
 	switch(e->event) {
 	case WE_PAINT: {
 		GraphDrawer gd;
-		Player *p;
+		const Player* p;
 		int i,j;
 		int numd;
 
@@ -621,7 +621,7 @@
 	switch(e->event) {
 	case WE_PAINT: {
 		GraphDrawer gd;
-		Player *p;
+		const Player* p;
 		int i,j;
 		int numd;
 
@@ -826,8 +826,8 @@
 {
 	switch(e->event) {
 	case WE_PAINT: {
-		Player *p;
-		Player *plist[MAX_PLAYERS];
+		const Player* p;
+		const Player* plist[MAX_PLAYERS];
 		uint pl_num;
 		uint i;