bug 300335 allocate enough memory

patch by Andrew Schultz <ajschult@verizon.net> r+sr=mscott a=bsmedberg
This commit is contained in:
cbiesinger%web.de 2005-07-25 21:06:44 +00:00
Родитель 6284578ea0
Коммит 3f1e13dd52
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -212,7 +212,7 @@ struct cs_info * get_current_cs(const char * es) {
if (NS_FAILED(rv))
return nsnull;
ccs = (struct cs_info *) malloc(0xff * sizeof(cs_info));
ccs = (struct cs_info *) malloc(256 * sizeof(cs_info));
PRInt32 charLength = 256;
PRInt32 uniLength = 512;