From 5eee1c702e4d32e7417148995350a12535a4556f Mon Sep 17 00:00:00 2001 From: ehouse Date: Sat, 8 Jan 2005 18:14:36 +0000 Subject: [PATCH] larger tmp buf for faster copying --- symbian/src/symdict.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/symbian/src/symdict.cpp b/symbian/src/symdict.cpp index fcb4ac89e..6ee7b83dd 100644 --- a/symbian/src/symdict.cpp +++ b/symbian/src/symdict.cpp @@ -159,8 +159,6 @@ symLoadSpecialData( SymDictCtxt* ctxt, RFile* file ) XP_UCHAR* text = (XP_UCHAR*)XP_MALLOC(ctxt->super.mpool, txtlen+1); TPtr8 desc( text, txtlen ); file->Read( desc, txtlen ); -// XP_MEMCPY( text, ptr, txtlen ); -// ptr += txtlen; text[txtlen] = '\0'; XP_ASSERT( face < nSpecials ); texts[face] = text; @@ -181,10 +179,9 @@ readFileToBuf( XP_UCHAR* dictBuf, const RFile* file ) { XP_U32 offset = 0; for ( ; ; ) { - TBuf8<256> buf; + TBuf8<1024> buf; TInt err = file->Read( buf, buf.MaxLength() ); TInt nRead = buf.Size(); - XP_LOGF( "read %d bytes from file", nRead ); if ( nRead <= 0 ) { break; }