From 550bda3e54a0895e027fee14860f14171a357ac9 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 5 Jul 2005 15:06:52 +0000 Subject: Recoding Fixes --- src/rccstring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rccstring.c') diff --git a/src/rccstring.c b/src/rccstring.c index e03a22f..66cb6a9 100644 --- a/src/rccstring.c +++ b/src/rccstring.c @@ -14,7 +14,7 @@ rcc_string rccCreateString(rcc_language_id language_id, const char *buf, int len if (!res) return NULL; strncpy(res + sizeof(rcc_string_header), buf, len); - res[sizeof(rcc_string_header) + 1 + len] = 0; + res[sizeof(rcc_string_header) + len] = 0; memcpy(res, &header, sizeof(rcc_string_header)); -- cgit v1.2.3