Author: manolo
Date: 2012-11-10 01:01:16 -0800 (Sat, 10 Nov 2012)
New Revision: 9713
Log:
Fix STR#2884: Fl_PNG_Image made from static memory will forget share name
(cont'd).
Modified:
branches/branch-1.3/src/Fl_PNG_Image.cxx
Modified: branches/branch-1.3/src/Fl_PNG_Image.cxx
===================================================================
--- branches/branch-1.3/src/Fl_PNG_Image.cxx 2012-11-10 08:31:35 UTC (rev
9712)
+++ branches/branch-1.3/src/Fl_PNG_Image.cxx 2012-11-10 09:01:16 UTC (rev
9713)
@@ -3,7 +3,7 @@
//
// Fl_PNG_Image routines.
//
-// Copyright 1997-2011 by Easy Software Products.
+// Copyright 1997-2012 by Easy Software Products.
// Image support by Matthias Melcher, Copyright 2000-2009.
//
// This library is free software. Distribution and use rights are outlined in
@@ -114,7 +114,7 @@
if (!from_memory) {
if ((fp = fl_fopen(name_png, "rb")) == NULL) return;
}
- const char *display_name = (name_png ? name_png : "");
+ const char *display_name = (name_png ? name_png : "In-memory PNG data");
// Setup the PNG data structures...
pp = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit