Also allow some uppercase image filename extensions. Change 5 of 6 from https://sourceforge.net/p/gelide/code/ci/b8da37d825b9548ba6548f96ce8efb84cf068001/ --- src/ui/info_pannel.cpp +++ src/ui/info_pannel.cpp @@ -169,8 +169,9 @@ void CInfoPannel::clear(void){ m_label_emulator_description.set_label(""); } +// CHECKME: Esto es una mala solución. El método no localiza bien los ficheros void CInfoPannel::updateImages(CSystem* p_system, CGame* p_game){ - Glib::ustring l_exts[] = {"png", "jpg", "jpeg", "gif", "xpm", "pnm", "tif", "tiff"}; + Glib::ustring l_exts[] = {"png", "PNG", "jpg", "JPG", "jpeg", "JPEG", "gif", "GIF", "xpm", "XPM", "pnm", "tif", "tiff"}; int l_tab, l_ind; //Gtk::Image* l_image = NULL; Glib::RefPtr* l_pixbuf = NULL;