From a521ceb379c34c854fb4e9848c0bcb7d28b46f4f Mon Sep 17 00:00:00 2001 From: Jiayi Zhao Date: Tue, 4 Jun 2019 15:02:56 -0400 Subject: remove file_name_as_string --- src/tab.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tab.rs') diff --git a/src/tab.rs b/src/tab.rs index e7f4ac6..b62d107 100644 --- a/src/tab.rs +++ b/src/tab.rs @@ -95,7 +95,7 @@ impl JoshutoTab { ncurses::waddstr(win.win, "/"); ncurses::wattroff(win.win, ncurses::COLOR_PAIR(THEME_T.directory.colorpair)); if let Some(entry) = self.curr_list.get_curr_ref() { - ncurses::waddstr(win.win, &entry.file_name_as_string); + ncurses::waddstr(win.win, &entry.file_name); } ncurses::wattroff(win.win, ncurses::A_BOLD()); win.queue_for_refresh(); -- cgit v1.2.3