mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
log name of dict unable to open
This commit is contained in:
parent
53a91b579a
commit
45837f0a1c
1 changed files with 6 additions and 2 deletions
|
@ -120,7 +120,6 @@ symMakeBitmap( SymDictCtxt* /*ctxt*/, RFile* file )
|
|||
XP_U8 nRows = readXP_U8( file );
|
||||
XP_U8 srcByte = 0;
|
||||
XP_U8 nBits;
|
||||
XP_U16 i;
|
||||
bitmap = new (ELeave) CFbsBitmap();
|
||||
bitmap->Create( TSize(nCols, nRows), dispMode );
|
||||
|
||||
|
@ -253,7 +252,12 @@ sym_dictionary_makeL( MPFORMAL const XP_UCHAR* aDictName )
|
|||
CleanupClosePushL(fileSession);
|
||||
|
||||
RFile file;
|
||||
User::LeaveIfError( file.Open( fileSession, nameD, EFileRead ) );
|
||||
TInt err = file.Open( fileSession, nameD, EFileRead );
|
||||
if ( err != KErrNone ) {
|
||||
XP_LOGDESC16( &nameD );
|
||||
XP_LOGF( "file.Open => %d", err );
|
||||
}
|
||||
User::LeaveIfError( err );
|
||||
CleanupClosePushL(file);
|
||||
|
||||
ctxt = (SymDictCtxt*)XP_MALLOC( mpool, sizeof(*ctxt) );
|
||||
|
|
Loading…
Reference in a new issue