summaryrefslogtreecommitdiff
path: root/games/nagi/patches/patch-aa
blob: 49de547261bfa5e75eb279edebb5c3605f2abbd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-aa,v 1.1.1.1 2003/08/16 15:33:01 drochner Exp $

--- agi.h.orig	2003-08-11 15:37:42.000000000 +0200
+++ agi.h	2003-08-11 15:38:24.000000000 +0200
@@ -378,8 +378,8 @@
 
 #define AGI_TRACE printf("trace at: file=%s, func=%s, line=%d\n", __FILE__,__PRETTY_FUNCTION__, __LINE__);
 
-#define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
-					strcpy(blah, str_data); \
+#define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
+					strcpy(blah, str_data); \
 					blah; })
 
 #define CT_INT (0)