Author: AlbrechtS
Date: 2010-08-25 01:45:33 -0700 (Wed, 25 Aug 2010)
New Revision: 7688
Log:
Fixed a bug that would have crashed the program on Windows versions
before Windows 2000 when printing pixmaps.
Modified:
branches/branch-1.3/src/Fl_Pixmap.cxx
Modified: branches/branch-1.3/src/Fl_Pixmap.cxx
===================================================================
--- branches/branch-1.3/src/Fl_Pixmap.cxx 2010-08-24 08:16:54 UTC (rev
7687)
+++ branches/branch-1.3/src/Fl_Pixmap.cxx 2010-08-25 08:45:33 UTC (rev
7688)
@@ -153,7 +153,7 @@
hMod = LoadLibrary("MSIMG32.DLL");
if(hMod) fl_TransparentBlt = (fl_transp_func)GetProcAddress(hMod,
"TransparentBlt");
}
- if (hMod) {
+ if (fl_TransparentBlt) {
Fl_Offscreen tmp_id = fl_create_offscreen(pxm->w(), pxm->h());
fl_begin_offscreen(tmp_id);
uchar *bitmap = 0;
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit