Skip to content

Commit

Permalink
Fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
wengxt committed Apr 21, 2024
1 parent a3b3a7a commit dc439b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/chttrans/chttrans.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ const Configuration *Chttrans::getConfig() const {
{"default", _("Default")}};
constexpr std::string_view JsonSuffix = ".json";
auto files =
openCCStandardPath().multiOpen(StandardPath::Type::Data, "", O_RDONLY,
openCCStandardPath().multiOpen(StandardPath::Type::PkgData, ".", O_RDONLY,
filter::Suffix(std::string(JsonSuffix)));
profiles.reserve(files.size() + 1);
// files is std::map, so file name is already sorted.
Expand Down

0 comments on commit dc439b5

Please sign in to comment.