fix: settings persist on font clear, reserve() before push_back, minor (#2519)

This commit is contained in:
Jakub Sypiański
2026-07-03 18:58:24 +03:00
committed by GitHub
parent 57447a56a6
commit 79b4d63ee2
6 changed files with 17 additions and 10 deletions
+1 -1
View File
@@ -336,7 +336,7 @@ std::string getFileName(std::string filename) {
return filename.substr(0, pos);
}
std::string getFileExtension(std::string filename) {
std::string getFileExtension(const std::string& filename) {
if (filename.back() == '/') {
return "";
}