summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-03-21 14:39:00 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-03-21 14:39:00 +0100
commitbf5b902180f0e5654f5802cf9ef588ecf57d20c6 (patch)
treec6ca474a1c8f044eb7f3ba4199d2455781fafda9 /FL
parent49dae86edf4d1deb7f5e39f57f05a6656137ead1 (diff)
Rename member Fl_Graphics_Driver::p to xpoint to avoid shadowing.
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Graphics_Driver.H4
1 files changed, 2 insertions, 2 deletions
diff --git a/FL/Fl_Graphics_Driver.H b/FL/Fl_Graphics_Driver.H
index fe1e8d029..2ce2faedb 100644
--- a/FL/Fl_Graphics_Driver.H
+++ b/FL/Fl_Graphics_Driver.H
@@ -2,7 +2,7 @@
// Declaration of classes Fl_Graphics_Driver, Fl_Scalable_Graphics_Driver,
// and Fl_Font_Descriptor for the Fast Light Tool Kit (FLTK).
//
-// Copyright 2010-2021 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
@@ -175,7 +175,7 @@ protected:
Fl_Font_Descriptor *font_descriptor_; ///< For internal use by FLTK
int p_size;
typedef struct { float x; float y; } XPOINT;
- XPOINT *p;
+ XPOINT *xpoint;
#ifndef FL_DOXYGEN
enum {LINE, LOOP, POLYGON, POINT_};
inline int vertex_no() { return n; }