Skip to content

Commit

Permalink
all: fix default skin not default..
Browse files Browse the repository at this point in the history
  • Loading branch information
Cpasjuste committed May 13, 2020
1 parent e070ba4 commit 15e7783
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/c2dui_config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ Config::Config(c2d::Io *io, int ver) {
get()->at(get()->size() - 1).setInfo("This option needs a restart...");
#endif
// build zipped skin list
std::vector<std::string> paths;
std::vector<std::string> paths = {"default"};
std::vector<c2d::Io::File> files = io->getDirList(dataPath + "skins/", true);
for (const auto &file : files) {
if (file.name[0] == '.') {
if (file.name[0] == '.' || file.name == "default.zip") {
continue;
}
paths.emplace_back(Utility::removeExt(file.name));
Expand Down

0 comments on commit 15e7783

Please sign in to comment.