From 94e56108e8c1be61ea3aa4051861ce315cf3d5db Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Fri, 25 Mar 2016 15:09:58 +0100 Subject: [PATCH] Fix path building bug --- libimagrt/src/configuration.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libimagrt/src/configuration.rs b/libimagrt/src/configuration.rs index c45b7a8f..405933c5 100644 --- a/libimagrt/src/configuration.rs +++ b/libimagrt/src/configuration.rs @@ -213,7 +213,7 @@ fn fetch_config(rtp: &PathBuf) -> Result { let variants = vec!["config", "config.toml", "imagrc", "imagrc.toml"]; let modifier = |base: &PathBuf, v: &'static str| { let mut base = base.clone(); - base.push(format!("/{}", v)); + base.push(format!("{}", v)); base };