Fix some compile warnings

This commit is contained in:
2024-08-23 22:22:41 -04:00
parent 29404cdd23
commit 13a62445a3
3 changed files with 4 additions and 6 deletions

View File

@@ -93,7 +93,6 @@ break_info_t calculate_line_wrapping(rectangle dest_rect, std::string str, TextS
break_info_t break_info;
if(str.empty()) return break_info; // Nothing to do!
short line_height = style.lineHeight;
sf::Text str_to_draw;
style.applyTo(str_to_draw);
short str_len = str.length();