summaryrefslogtreecommitdiffhomepage
path: root/proto-ft
diff options
context:
space:
mode:
Diffstat (limited to 'proto-ft')
-rw-r--r--proto-ft/ftnoir_protocol_ft.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto-ft/ftnoir_protocol_ft.cpp b/proto-ft/ftnoir_protocol_ft.cpp
index 9613f4a8..252819bd 100644
--- a/proto-ft/ftnoir_protocol_ft.cpp
+++ b/proto-ft/ftnoir_protocol_ft.cpp
@@ -175,9 +175,9 @@ module_status freetrack::set_protocols()
return {tr("Can't copy library to selected custom location '%1'").arg(s.custom_location_pathname)};
}
+ location.replace('\\', '/');
if (!location.endsWith('/'))
location += '/';
- location.replace('\\', '/');
settings_ft.setValue("Path", use_freetrack ? location : "");
settings_npclient.setValue("Path", use_npclient ? location : "");