diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/common/rawstr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/common/rawstr.cpp b/src/modules/common/rawstr.cpp index c7363d9..7b23041 100644 --- a/src/modules/common/rawstr.cpp +++ b/src/modules/common/rawstr.cpp @@ -168,7 +168,7 @@ signed char RawStr::findoffset(const char *ikey, long *start, unsigned short *si if (*ikey) { headoff = 0; - key = new char [ strlen(ikey) + 1 ]; + key = new char [ strlen(ikey) + 10 ]; // just in case toupper needs a few extra strcpy(key, ikey); toupperstr_utf8(key); |