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

This commit is contained in:
Jakub Sypiański authored and GitHub committed 2026-07-03 18:58:24 +03:00
1 parent 57447a56a6
commit 79b4d63ee2
6 files changed
+17 -10

No files matched your search

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