From bf5b902180f0e5654f5802cf9ef588ecf57d20c6 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Mon, 21 Mar 2022 14:39:00 +0100 Subject: Rename member Fl_Graphics_Driver::p to xpoint to avoid shadowing. --- FL/Fl_Graphics_Driver.H | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'FL') 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; } -- cgit v1.2.3