diff --git a/src/FontData.cpp b/src/FontData.cpp index 71479c9..a67d365 100644 --- a/src/FontData.cpp +++ b/src/FontData.cpp @@ -22,8 +22,6 @@ #include #include -#include - FontData::FontData() { diff --git a/src/GUIStuff/Elements/FontPicker.cpp b/src/GUIStuff/Elements/FontPicker.cpp index b1efed7..b55c0d1 100644 --- a/src/GUIStuff/Elements/FontPicker.cpp +++ b/src/GUIStuff/Elements/FontPicker.cpp @@ -6,7 +6,6 @@ #include #include #include -#include bool GUIStuff::FontPicker::update(UpdateInputData& io, std::string* fontName, GUIManager* gui) { if(sortedFontList.empty()) { @@ -33,10 +32,8 @@ bool GUIStuff::FontPicker::update(UpdateInputData& io, std::string* fontName, GU } sortedFontList = std::vector(sortedFontSet.begin(), sortedFontSet.end()); sortedFontListLowercase = sortedFontList; - for(std::string& s : sortedFontListLowercase) { + for(std::string& s : sortedFontListLowercase) std::transform(s.begin(), s.end(), s.begin(), ::tolower); - Logger::get().log("INFO", s); - } } if(!fontName)