MT 06998
This commit is contained in:
parent
33d101f293
commit
b55101383e
@ -2068,19 +2068,6 @@ void menu_select_launch::arts_render(float origx1, float origy1, float origx2, f
|
|||||||
render_load_jpeg(tmp_bitmap, snapfile, nullptr, fullname.c_str());
|
render_load_jpeg(tmp_bitmap, snapfile, nullptr, fullname.c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (ui_globals::curimage_view == TITLES_VIEW)
|
|
||||||
{
|
|
||||||
// First attempt from name list
|
|
||||||
std::string const pathname = software->listname + "_titles";
|
|
||||||
std::string fullname = software->shortname + ".png";
|
|
||||||
render_load_png(tmp_bitmap, snapfile, pathname.c_str(), fullname.c_str());
|
|
||||||
|
|
||||||
if (!tmp_bitmap.valid())
|
|
||||||
{
|
|
||||||
fullname.assign(software->shortname).append(".jpg");
|
|
||||||
render_load_jpeg(tmp_bitmap, snapfile, pathname.c_str(), fullname.c_str());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// First attempt from name list
|
// First attempt from name list
|
||||||
|
Loading…
Reference in New Issue
Block a user