driver/pictureviewer/pictureviewer.cpp: change supported formats order

Origin commit data
------------------
Commit: b2a7aabe15
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-09-27 (Sat, 27 Sep 2014)
This commit is contained in:
[CST] Focus
2014-09-27 15:19:05 +04:00
parent 2f7945d5d8
commit 57aa4f1b23

View File

@@ -55,6 +55,9 @@ void CPictureViewer::add_format (int (*picsize) (const char *, int *, int *, int
void CPictureViewer::getSupportedImageFormats(std::vector<std::string>& exts)
{
#ifdef FBV_SUPPORT_JPEG
exts.push_back(".jpg");
#endif
#ifdef FBV_SUPPORT_PNG
exts.push_back(".png");
#endif
@@ -62,7 +65,6 @@ void CPictureViewer::getSupportedImageFormats(std::vector<std::string>& exts)
exts.push_back(".gif");
#endif
#ifdef FBV_SUPPORT_JPEG
exts.push_back(".jpg");
exts.push_back(".jpeg");
#endif
#ifdef FBV_SUPPORT_BMP