mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 18:01:13 +02:00
driver/pictureviewer/pictureviewer.cpp: change supported formats order
This commit is contained in:
@@ -55,6 +55,9 @@ void CPictureViewer::add_format (int (*picsize) (const char *, int *, int *, int
|
|||||||
|
|
||||||
void CPictureViewer::getSupportedImageFormats(std::vector<std::string>& exts)
|
void CPictureViewer::getSupportedImageFormats(std::vector<std::string>& exts)
|
||||||
{
|
{
|
||||||
|
#ifdef FBV_SUPPORT_JPEG
|
||||||
|
exts.push_back(".jpg");
|
||||||
|
#endif
|
||||||
#ifdef FBV_SUPPORT_PNG
|
#ifdef FBV_SUPPORT_PNG
|
||||||
exts.push_back(".png");
|
exts.push_back(".png");
|
||||||
#endif
|
#endif
|
||||||
@@ -62,7 +65,6 @@ void CPictureViewer::getSupportedImageFormats(std::vector<std::string>& exts)
|
|||||||
exts.push_back(".gif");
|
exts.push_back(".gif");
|
||||||
#endif
|
#endif
|
||||||
#ifdef FBV_SUPPORT_JPEG
|
#ifdef FBV_SUPPORT_JPEG
|
||||||
exts.push_back(".jpg");
|
|
||||||
exts.push_back(".jpeg");
|
exts.push_back(".jpeg");
|
||||||
#endif
|
#endif
|
||||||
#ifdef FBV_SUPPORT_BMP
|
#ifdef FBV_SUPPORT_BMP
|
||||||
|
Reference in New Issue
Block a user