From bdc9821b7d23c561ea9dc51f6fa8b731fbd72fc2 Mon Sep 17 00:00:00 2001 From: Bodmer Date: Thu, 12 Apr 2018 01:55:38 +0100 Subject: [PATCH] Add this-> --- Extensions/Sprite.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Extensions/Sprite.cpp b/Extensions/Sprite.cpp index 276fa32..290a0d8 100644 --- a/Extensions/Sprite.cpp +++ b/Extensions/Sprite.cpp @@ -49,8 +49,8 @@ void* TFT_eSprite::createSprite(int16_t w, int16_t h, uint8_t frames) if ( w < 1 || h < 1 ) return NULL; - _width = _iwidth = _dwidth = w; - _height = _iheight = _dheight = h; + this->_width = _iwidth = _dwidth = w; + this->_height = _iheight = _dheight = h; this->cursor_x = 0; this->cursor_y = 0;