1
0
mirror of https://github.com/aseprite/aseprite.git synced 2025-02-13 15:39:59 +00:00

Don't ref a temporary object

This commit is contained in:
David Capello 2015-10-15 18:32:55 -03:00
parent 7bf6404b85
commit 241aba6370

@ -145,7 +145,7 @@ FontPopup::FontPopup()
#endif
if (!m_fontsDir.empty()) {
auto& files = base::list_files(m_fontsDir);
auto files = base::list_files(m_fontsDir);
std::sort(files.begin(), files.end());
for (auto& file : files) {
if (base::string_to_lower(base::get_file_extension(file)) == "ttf")