summaryrefslogtreecommitdiff
blob: 226cfa34d8deebaeb474a650418830a06e241593 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff -ur lgeneral-orig/src/ai.c lgeneral-1.2beta-5/src/ai.c
--- lgeneral-orig/src/ai.c	2005-10-07 16:58:21.000000000 +0200
+++ lgeneral-1.2beta-5/src/ai.c	2005-10-07 16:58:48.000000000 +0200
@@ -508,7 +508,7 @@
 */
 void ai_finalize( void )
 {
-printf(__FUNCTION__ "\n");
+printf("%s\n", __FUNCTION__);
     if ( finalized )
         return;
 printf("Really finalized\n");
diff -ur lgeneral-orig/src/ai_group.c lgeneral-1.2beta-5/src/ai_group.c
--- lgeneral-orig/src/ai_group.c	2005-10-07 16:58:21.000000000 +0200
+++ lgeneral-1.2beta-5/src/ai_group.c	2005-10-07 16:59:18.000000000 +0200
@@ -560,7 +560,7 @@
         }
     }
     if ( unit == 0 ) {
-        printf("ERROR: " __FUNCTION__ ": null unit detected\n");
+        printf("ERROR: %s: null unit detected\n", __FUNCTION__);
 	return 0;
     }
     if ( group->state == GS_ART_FIRE )