0ad/0ad-cs7755.patch

27 lines
815 B
Diff

Index: build/premake/src/Src/path.c
===================================================================
--- build/premake/src/Src/path.c 2006-04-20 03:28:20.000000000 +0200
+++ build/premake/src/Src/path.c 2010-07-14 18:09:27.364697234 +0200
@@ -240,7 +240,7 @@
path_translateInPlace(forpart, "posix");
ptr = strrchr(forpart, '/');
- ptr = (ptr != NULL) ? ++ptr : forpart;
+ ptr = (ptr != NULL) ? ptr+1 : forpart;
return ptr;
}
Index: build/premake/src/Src/vs.c
===================================================================
--- build/premake/src/Src/vs.c 2010-06-10 21:15:33.000000000 +0200
+++ build/premake/src/Src/vs.c 2010-07-14 18:09:46.373697698 +0200
@@ -173,7 +173,7 @@
io_print("=\"");
}
-static tag_attr_close()
+static void tag_attr_close()
{
io_print("\"");
attrib++;