hedgewars/pas2c.h
changeset 6967 1224c6fb36c3
parent 6965 5718ec36900c
child 6971 b7b38e051b5f
--- a/hedgewars/pas2c.h	Mon Apr 30 20:12:43 2012 +0200
+++ b/hedgewars/pas2c.h	Mon Apr 30 23:35:40 2012 +0400
@@ -63,7 +63,7 @@
 string255 copy(string255 a, int s, int l);
 string255 delete(string255 a, int s, int l);
 
-#define STRINIT(a) {.len = sizeof(a), .str = a}
+#define STRINIT(a) {.len = sizeof(a) - 1, .str = a}
 
 typedef int file;
 extern int FileMode;