# | Line 211 | Line 211 | static void add_path_comp(const char *s) | |
---|---|---|
211 | ||
212 | static void get_path_for_fsitem(FSItem *p) | |
213 | { | |
214 | < | if (p->id == ROOT_ID) { |
214 | > | if (p->id == ROOT_PARENT_ID) { |
215 | > | full_path[0] = 0; |
216 | > | } else if (p->id == ROOT_ID) { |
217 | strncpy(full_path, RootPath, MAX_PATH_LENGTH-1); | |
218 | full_path[MAX_PATH_LENGTH-1] = 0; | |
219 | } else { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |