From d87b62ea6924c80127ce82b01ad91ea80ace5d73 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Mon, 21 Mar 2022 15:56:50 +0100 Subject: Avoid using same name (p) for distinct members of derived classes. --- src/drivers/Xlib/Fl_Xlib_Graphics_Driver.H | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/drivers/Xlib/Fl_Xlib_Graphics_Driver.H') 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_; -- cgit v1.2.3