summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmyGilhespy <120238507+AmyGilhespy@users.noreply.github.com>2022-12-09 23:50:01 -0600
committerGitHub <noreply@github.com>2022-12-09 23:50:01 -0600
commit8f93b14030c4fee71b5264b3015f28a56cc7ab06 (patch)
tree5aa3631f3143c154b19fabe6e1c4a29f4b95bacc
parentae86d907e75c3de9b039e7cc77e521bc9739e6dc (diff)
Fix glyph_flags typo.
-rw-r--r--scene/gui/rich_text_effect.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/rich_text_effect.h b/scene/gui/rich_text_effect.h
index 66b8a21760..886442bc80 100644
--- a/scene/gui/rich_text_effect.h
+++ b/scene/gui/rich_text_effect.h
@@ -79,7 +79,7 @@ public:
uint32_t get_glyph_index() const { return glyph_index; };
void set_glyph_index(uint32_t p_glyph_index) { glyph_index = p_glyph_index; };
- uint16_t get_glyph_flags() const { return glyph_index; };
+ uint16_t get_glyph_flags() const { return glyph_flags; };
void set_glyph_flags(uint16_t p_glyph_flags) { glyph_flags = p_glyph_flags; };
uint8_t get_glyph_count() const { return glyph_count; };