1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2025-04-21 12:27:27 +03:00

Removed checks for manuals and screenshots in JPEG and BMP format

Support for loading JPEG and BMP images was removed a long time ago,
so there is no point in looking for files in those formats.
This commit is contained in:
Maarten ter Huurne
2013-08-14 13:30:17 +02:00
parent 666be4d354
commit 8472acc26c
3 changed files with 1 additions and 10 deletions

View File

@@ -429,8 +429,7 @@ void LinkApp::showManual() {
return;
// Png manuals
string ext8 = manual.substr(manual.size()-8,8);
if (ext8==".man.png" || ext8==".man.bmp" || ext8==".man.jpg" || manual.substr(manual.size()-9,9)==".man.jpeg") {
if (manual.substr(manual.size()-8,8)==".man.png") {
#ifdef ENABLE_CPUFREQ
//Raise the clock to speed-up the loading of the manual
gmenu2x->setSafeMaxClock();