biggest chan number in list (revised)

Origin commit data
------------------
Commit: 441cba7d4a
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-07-07 (Sat, 07 Jul 2012)
This commit is contained in:
Jacek Jendrzej
2012-07-07 21:10:10 +02:00
parent 803674f9df
commit c4dfb269fc
3 changed files with 24 additions and 18 deletions

View File

@@ -587,7 +587,7 @@ fb_pixel_t * CPictureViewer::int_getImage(const std::string & name, int *width,
if (buffer == NULL)
{
printf("%s: Error: malloc\n", mode_str.c_str());
return false;
return 0;
}
#ifdef FBV_SUPPORT_PNG
if ((name.find(".png") == (name.length() - 4)) && (fh_png_id(name.c_str())))