summaryrefslogtreecommitdiff
path: root/src/drivers/Xlib/Fl_Xlib_Graphics_Driver.H
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-03-21 15:56:50 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-03-21 15:56:50 +0100
commitd87b62ea6924c80127ce82b01ad91ea80ace5d73 (patch)
tree61e56c8484ffeaa8965f256fa59fa41565665b78 /src/drivers/Xlib/Fl_Xlib_Graphics_Driver.H
parentbf5b902180f0e5654f5802cf9ef588ecf57d20c6 (diff)
Avoid using same name (p) for distinct members of derived classes.
Diffstat (limited to 'src/drivers/Xlib/Fl_Xlib_Graphics_Driver.H')
-rw-r--r--src/drivers/Xlib/Fl_Xlib_Graphics_Driver.H5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/drivers/Xlib/Fl_Xlib_Graphics_Driver.H b/src/drivers/Xlib/Fl_Xlib_Graphics_Driver.H
index f7619ef10..807e82b5f 100644
--- a/src/drivers/Xlib/Fl_Xlib_Graphics_Driver.H
+++ b/src/drivers/Xlib/Fl_Xlib_Graphics_Driver.H
@@ -1,7 +1,7 @@
//
// Definition of class Fl_Xlib_Graphics_Driver for the Fast Light Tool Kit (FLTK).
//
-// Copyright 2010-2020 by Bill Spitzak and others.
+// Copyright 2010-2022 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -96,8 +96,7 @@ private:
static GC gc_;
uchar *mask_bitmap_;
uchar **mask_bitmap() {return &mask_bitmap_;}
- typedef struct {short x, y;} XPOINT;
- XPOINT *p;
+ XPoint *short_point;
#if USE_XFT
static Window draw_window;
static struct _XftDraw* draw_;