summaryrefslogtreecommitdiff
path: root/src/Fl_Double_Window.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2004-11-21 15:33:24 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2004-11-21 15:33:24 +0000
commit6849c43a05bcd7cfa8576eba6e1413415e1cdfd9 (patch)
treedf198464f14541cc5fb1b581767b02f311d93b74 /src/Fl_Double_Window.cxx
parent876e29acefc9207562fbe98502eba48a06e1f5f8 (diff)
Check for a NULL off-screen buffer before copying...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3911 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Double_Window.cxx')
-rw-r--r--src/Fl_Double_Window.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/Fl_Double_Window.cxx b/src/Fl_Double_Window.cxx
index eb834c980..e3fc8edcd 100644
--- a/src/Fl_Double_Window.cxx
+++ b/src/Fl_Double_Window.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Double_Window.cxx,v 1.12.2.4.2.12 2004/08/31 22:00:47 matthiaswm Exp $"
+// "$Id: Fl_Double_Window.cxx,v 1.12.2.4.2.13 2004/11/21 15:33:24 easysw Exp $"
//
// Double-buffered window code for the Fast Light Tool Kit (FLTK).
//
@@ -315,11 +315,7 @@ void Fl_Double_Window::flush(int eraseoverlay) {
// on Irix (at least) it is faster to reduce the area copied to
// the current clip region:
int X,Y,W,H; fl_clip_box(0,0,w(),h(),X,Y,W,H);
-#ifdef __APPLE__
if (myi->other_xid) fl_copy_offscreen(X, Y, W, H, myi->other_xid, X, Y);
-#else
- fl_copy_offscreen(X, Y, W, H, myi->other_xid, X, Y);
-#endif
}
void Fl_Double_Window::resize(int X,int Y,int W,int H) {
@@ -352,5 +348,5 @@ Fl_Double_Window::~Fl_Double_Window() {
}
//
-// End of "$Id: Fl_Double_Window.cxx,v 1.12.2.4.2.12 2004/08/31 22:00:47 matthiaswm Exp $".
+// End of "$Id: Fl_Double_Window.cxx,v 1.12.2.4.2.13 2004/11/21 15:33:24 easysw Exp $".
//