equal
deleted
inserted
replaced
131 BaflUtils::NearestLanguageFile(iFsSession, fileName); |
131 BaflUtils::NearestLanguageFile(iFsSession, fileName); |
132 |
132 |
133 // Check the entry exists on this drive (e.g. if we are running the log server |
133 // Check the entry exists on this drive (e.g. if we are running the log server |
134 // from RAM, then default to the ROM if no RSC on the current drive exists). |
134 // from RAM, then default to the ROM if no RSC on the current drive exists). |
135 TEntry fsEntry; |
135 TEntry fsEntry; |
136 if (iFsSession.Entry(fileName, fsEntry) == KErrNotFound) |
136 TInt err = iFsSession.Entry(fileName, fsEntry); |
|
137 if ( err == KErrNotFound || err == KErrPathNotFound ) |
137 { |
138 { |
138 // Switch to ROM (we might already have been launching from the ROM, |
139 // Switch to ROM (we might already have been launching from the ROM, |
139 // in which case this will have no effect anyway). |
140 // in which case this will have no effect anyway). |
140 fileName[0] = 'Z'; |
141 fileName[0] = 'Z'; |
141 } |
142 } |