diff --git a/src/layout.c b/src/layout.c
index 4ec5162..5a79818 100644
a
|
b
|
void save_panel_dir(int index) |
1165 | 1165 | char *widget_work_dir = w->cwd; |
1166 | 1166 | |
1167 | 1167 | g_free(panels [index].last_saved_dir); /* last path no needed */ |
1168 | | panels [index].last_saved_dir = g_strdup(widget_work_dir); |
| 1168 | /* Because path can nonlocal */ |
| 1169 | panels [index].last_saved_dir = vfs_translate_url(widget_work_dir); |
1169 | 1170 | } |
1170 | 1171 | } |
1171 | 1172 | |
… |
… |
Widget *restore_into_right_dir_panel(int index, Widget *from_widget) |
1174 | 1175 | { |
1175 | 1176 | Widget *new_widget = 0; |
1176 | 1177 | const char *saved_dir = panels [index].last_saved_dir; |
| 1178 | |
1177 | 1179 | int last_was_panel = (from_widget && |
1178 | 1180 | get_display_type(index) != view_listing); |
1179 | 1181 | |