diff options
Diffstat (limited to 'src/modules/common/rawstr.cpp')
-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 a9f9c1d..eeb3bf8 100644 --- a/src/modules/common/rawstr.cpp +++ b/src/modules/common/rawstr.cpp @@ -171,7 +171,7 @@ signed char RawStr::findoffset(const char *ikey, long *start, unsigned short *si if (*ikey) { headoff = 0; - key = new char [ strlen(ikey) + 10 ]; // just in case toupper needs a few extra + key = new char [ (strlen(ikey)*2) + 10 ]; // just in case toupper needs a few extra strcpy(key, ikey); toupperstr_utf8(key); |