summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/launcher.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/launcher.rs b/src/launcher.rs
index c3c954e..653f17a 100644
--- a/src/launcher.rs
+++ b/src/launcher.rs
@@ -305,7 +305,7 @@ impl Launcher {
impl<'a> SubFunc<'a> for PathSub<'a> {
fn substitute(&self, key: &str) -> Option<Cow<'a, str>> {
match key {
- "path" => Some(self.0.to_string_lossy()),
+ "path" => Some(self.0.as_java_path().to_string_lossy()),
_ => None
}
}