diff options
author | Max Kellermann <max@duempel.org> | 2008-10-03 11:56:00 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-03 11:56:00 +0200 |
commit | 4ca0f663a918fc04389ff4351b596209902bd11c (patch) | |
tree | f96185f6b9ad29c5d6095f5da8f9903b4923c2d4 /src/screen_file.c | |
parent | e2c8e28ef7ccda32fb32792b086c40144df2a916 (diff) | |
download | mpd-4ca0f663a918fc04389ff4351b596209902bd11c.tar.gz mpd-4ca0f663a918fc04389ff4351b596209902bd11c.tar.xz mpd-4ca0f663a918fc04389ff4351b596209902bd11c.zip |
list_window: remove list_window_state_t
We do not need to save a stack of list window states. When we return
to a parent directory, we just have to find the directory which we
come from in the parent list. Note that this patch resets the cursor
when going to the root directory, but I think it's not that important,
and I will deal with that later.
Diffstat (limited to '')
-rw-r--r-- | src/screen_file.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/screen_file.c b/src/screen_file.c index 95510a516..1ba96403a 100644 --- a/src/screen_file.c +++ b/src/screen_file.c @@ -143,7 +143,6 @@ static void browse_init(WINDOW *w, int cols, int rows) { browser.lw = list_window_init(w, cols, rows); - browser.lw_state = list_window_init_state(); } static void @@ -159,7 +158,6 @@ browse_exit(void) if (browser.filelist) filelist_free(browser.filelist); list_window_free(browser.lw); - list_window_free_state(browser.lw_state); } static void |