diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2005-07-05 15:06:52 +0000 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2005-07-05 15:06:52 +0000 |
commit | 550bda3e54a0895e027fee14860f14171a357ac9 (patch) | |
tree | 491fe42222b457dfb988f57f6dd190ab5fc9f5ff /src/rccstring.c | |
parent | 9922cef1af71786ae788903b52a8968e5775d510 (diff) | |
download | librcc-550bda3e54a0895e027fee14860f14171a357ac9.tar.gz librcc-550bda3e54a0895e027fee14860f14171a357ac9.tar.bz2 librcc-550bda3e54a0895e027fee14860f14171a357ac9.tar.xz librcc-550bda3e54a0895e027fee14860f14171a357ac9.zip |
Recoding Fixes
Diffstat (limited to 'src/rccstring.c')
-rw-r--r-- | src/rccstring.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |