X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FImageIO.cpp;h=3e9f15501eb70a65898476d1be80705c83f16a85;hb=df979b404486fde2db26002a48c0a05d7f766cd6;hp=affcb8c58c29d40cc1a9dc2a96cfedac9b7cb020;hpb=b7ce94ec764f19ba8d092839ee289e9e1d93266b;p=lugaru.git diff --git a/Source/ImageIO.cpp b/Source/ImageIO.cpp index affcb8c..3e9f155 100644 --- a/Source/ImageIO.cpp +++ b/Source/ImageIO.cpp @@ -154,7 +154,7 @@ static bool load_png(const char *file_name, ImageRec &tex) if (fp == NULL) { cerr << file_name << " not found" << endl; - return(NULL); + return false; } png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);