mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-26 05:24:03 +02:00
Fix crash occuring when an unknown MIME type is specified in OPK
This commit is contained in:
parent
5ae44f11b0
commit
2cef732602
@ -179,8 +179,10 @@ LinkApp::LinkApp(GMenu2X *gmenu2x_, Touchscreen &ts, InputManager &inputMgr_,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Remove last comma */
|
/* Remove last comma */
|
||||||
selectorfilter.erase(selectorfilter.end());
|
if (!selectorfilter.empty()) {
|
||||||
DEBUG("Compatible extensions: %s\n", selectorfilter.c_str());
|
selectorfilter.erase(selectorfilter.end());
|
||||||
|
DEBUG("Compatible extensions: %s\n", selectorfilter.c_str());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endif /* HAVE_LIBXDGMIME */
|
#endif /* HAVE_LIBXDGMIME */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user