summaryrefslogtreecommitdiff
path: root/src/Fl_Bitmap.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2011-02-02 12:42:47 +0000
committerManolo Gouy <Manolo>2011-02-02 12:42:47 +0000
commit18156dfb30a291ca99422bd1bbebcb390bf9d570 (patch)
tree6687d9dc49ab32d4f44f5d3725b58704ba195831 /src/Fl_Bitmap.cxx
parentbb29437427d44ee47ab1039f0bab3b66fdb40b62 (diff)
Removed global variable fl_surface that was not very useful because equivalent
to Fl_Surface_Device::surface(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8360 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Bitmap.cxx')
-rw-r--r--src/Fl_Bitmap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Bitmap.cxx b/src/Fl_Bitmap.cxx
index 1c49dc530..0f2e0220f 100644
--- a/src/Fl_Bitmap.cxx
+++ b/src/Fl_Bitmap.cxx
@@ -304,7 +304,7 @@ void Fl_GDI_Graphics_Driver::draw(Fl_Bitmap *bm, int XP, int YP, int WP, int HP,
HDC tempdc;
int save;
BOOL use_print_algo = false;
- if (fl_surface->class_name() == Fl_Printer::class_id) {
+ if (Fl_Surface_Device::surface()->class_name() == Fl_Printer::class_id) {
static HMODULE hMod = NULL;
if (!hMod) {
hMod = LoadLibrary("MSIMG32.DLL");