Browse Source

Fix glyph_flags typo.

AmyGilhespy 2 years ago
parent
commit
8f93b14030
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scene/gui/rich_text_effect.h

+ 1 - 1
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; };