summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/commands/open_file.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/open_file.rs b/src/commands/open_file.rs
index 0f4ab20..0a4432f 100644
--- a/src/commands/open_file.rs
+++ b/src/commands/open_file.rs
@@ -24,9 +24,9 @@ fn _get_options<'a>(path: &path::Path, config: &AppConfig) -> Vec<&'a ProgramEnt
.and_then(|ext| ext.to_str())
.and_then(|ext| {
if config.case_insensitive_ext {
- MIMETYPE_T.app_list_for_ext(ext)
- } else {
MIMETYPE_T.app_list_for_ext(&ext.to_lowercase())
+ } else {
+ MIMETYPE_T.app_list_for_ext(ext)
}
})
{