summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-01-11 09:42:50 +0000
committerManolo Gouy <Manolo>2016-01-11 09:42:50 +0000
commit3235168654b225ce256ae4b54324d68b563b9413 (patch)
treea40ecab8a88daa8e9cb6f507aac01f3d1a6aa059 /src
parentc8ca93de715a567840f9d08428cf6558c6140d86 (diff)
Better use of FL_PORTING preprocessor variable.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11004 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Paged_Device.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Fl_Paged_Device.cxx b/src/Fl_Paged_Device.cxx
index eae08ef62..ccd63bf78 100644
--- a/src/Fl_Paged_Device.cxx
+++ b/src/Fl_Paged_Device.cxx
@@ -298,9 +298,11 @@ void Fl_Paged_Device::draw_decorated_window(Fl_Window *win, int x_offset, int y_
{
Fl_RGB_Image *top, *left, *bottom, *right;
#if defined(FL_PORTING)
+ top=left=bottom=right=NULL;
# pragma message "FL_PORTING: implement Fl_X::capture_titlebar_and_borders"
-#endif
+#else
Fl_X::i(win)->capture_titlebar_and_borders(top, left, bottom, right);
+#endif
int wsides = left ? left->w() : 0;
int toph = top ? top->h() : 0;
if (top) {