mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-04-21 12:27:27 +03:00
Fix crash occuring when an unknown MIME type is specified in OPK
This commit is contained in:
@@ -179,9 +179,11 @@ LinkApp::LinkApp(GMenu2X *gmenu2x_, Touchscreen &ts, InputManager &inputMgr_,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Remove last comma */
|
/* Remove last comma */
|
||||||
|
if (!selectorfilter.empty()) {
|
||||||
selectorfilter.erase(selectorfilter.end());
|
selectorfilter.erase(selectorfilter.end());
|
||||||
DEBUG("Compatible extensions: %s\n", selectorfilter.c_str());
|
DEBUG("Compatible extensions: %s\n", selectorfilter.c_str());
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#endif /* HAVE_LIBXDGMIME */
|
#endif /* HAVE_LIBXDGMIME */
|
||||||
|
|
||||||
param = opk_read_param(pdata, "X-OD-Manual");
|
param = opk_read_param(pdata, "X-OD-Manual");
|
||||||
|
|||||||
Reference in New Issue
Block a user