fbs/fontandbitmapserver/sfbs/FBSBMP.CPP
branchRCL_3
changeset 20 25ffed67c7ef
parent 19 bbf46f59e123
child 21 183e23d95fab
--- a/fbs/fontandbitmapserver/sfbs/FBSBMP.CPP	Tue Aug 31 16:31:06 2010 +0300
+++ b/fbs/fontandbitmapserver/sfbs/FBSBMP.CPP	Wed Sep 01 12:39:21 2010 +0100
@@ -23,7 +23,7 @@
 #include "fbshelper.h"
 #include "fbsrasterizer.h"
 #include "BitwiseBitmap.inl"
-#include "FbsMessage.H"
+#include "fbsmessage.h"
 #include "bitmapconst.h"
 #include "OstTraceDefinitions.h"
 #include "fbstrace.h"
@@ -569,7 +569,12 @@
         IsFileInRom(aFileName, rompointer);
         TBool romPointerValid;
         err = DoLoadFromRom(rompointer, aId, aFileOffset, romPointerValid);
-        if(!romPointerValid)
+        if(romPointerValid)
+            {
+            FBS_OST(OstTrace1( TRACE_ERROR, CFBSBITMAP_LOAD2_ERROR2, "! this=0x%08x; romPointerValid", (TUint)this);)
+            err = KErrCouldNotConnect;
+            }
+        else
             {
             _LIT(KResourcePath, "?:\\Resource\\*");
             TInt match = aFileName.MatchF(KResourcePath);