mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
- fix non *.png logos
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1716 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -541,7 +541,7 @@ fb_pixel_t * CPictureViewer::getImage(const std::string & name, int width, int h
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
#ifdef FBV_SUPPORT_PNG
|
#ifdef FBV_SUPPORT_PNG
|
||||||
if (name.find(".png")) // FIXME
|
if (name.find(".png") != std::string::npos)
|
||||||
load_ret = png_load_ext(name.c_str(), &buffer, &x, &y, &bpp);
|
load_ret = png_load_ext(name.c_str(), &buffer, &x, &y, &bpp);
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user