This commit is contained in:
mamichels 2020-12-18 11:13:27 +01:00 committed by GitHub
commit d2a3041316
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ fn default_editor() -> String {
} }
#[cfg(target_os = "windows")] #[cfg(target_os = "windows")]
fn default_editor() -> String { fn default_editor() -> String {
"C:\\Windows\\System32\\notepad.exe".to_owned() "C:/Windows/System32/notepad.exe".to_owned()
} }
pub fn open_editor(file_path: &Path) -> bool { pub fn open_editor(file_path: &Path) -> bool {