Skip to content

Commit

Permalink
fix: specify separator for file names
Browse files Browse the repository at this point in the history
  • Loading branch information
qudix committed Oct 1, 2023
1 parent 347e096 commit d720a84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CommonLibSF/src/REL/ID.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ namespace REL
// sfse only loads plugins from { runtimeDirectory + "Data\\SFSE\\Plugins" }
auto file = std::filesystem::current_path();

file /= std::format("{}\\versionlib-{}", database::LookUpDir, version.string());
file /= std::format("{}\\versionlib-{}", database::LookUpDir, version.string("-"));

_platform = Platform::kUnknown;
for (auto& [vendor, registered] : database::VendorModule) {
Expand Down Expand Up @@ -223,7 +223,7 @@ namespace REL
// kDatabaseVersion, runtimeVersion, runtimePlatform
"CommonLibSF-Offsets-v{}-{}-{}",
std::to_underlying(database::kDatabaseVersion),
a_version.string(),
a_version.string("-"),
std::to_underlying(_platform)));

stl_assert(mapname.has_value(),
Expand Down

0 comments on commit d720a84

Please sign in to comment.