biggest chan number in list (revised)

This commit is contained in:
satbaby
2012-07-07 21:10:10 +02:00
parent 060c1c45b2
commit 441cba7d4a
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())))