aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
authordanglassey <danglassey>2002-09-11 13:02:15 +0000
committerdanglassey <danglassey>2002-09-11 13:02:15 +0000
commit6423eeeb7e0d68e62d4e9b818173b2ded9b8a54b (patch)
treefe19e03b865318b0a6e65b22065a7cc64364fdb6 /src/modules
parentd6e78505f4bbc8dc4c5b5127655c374a16663d3b (diff)
downloadsword-sf-cvs-6423eeeb7e0d68e62d4e9b818173b2ded9b8a54b.tar.gz
sync with crosswire 20020911-1300
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/common/rawstr.cpp2
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);