mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-08 20:41:59 +03:00
Ticket #1794: Segfault in treeview
Testase: * rm -f ~/.mc/Tree * run mc * F9 -> Command -> Directory tree * Press F2 * Go to '/lib' item * Press F2 * exit from mc * run mc again * F9 -> Command -> Directory tree * press HOME key Fix issue: changed forgotten variable name. Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
parent
80a9540c7a
commit
e071af460f
@ -220,7 +220,7 @@ tree_store_load_from(char *name)
|
||||
lc_name = decode(buffer + 2);
|
||||
|
||||
len = strlen(lc_name);
|
||||
if (name[0] != PATH_SEP) {
|
||||
if (lc_name[0] != PATH_SEP) {
|
||||
/* Clear-text decompression */
|
||||
char *s = strtok(lc_name, " ");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user