mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-08 01:10:23 +00:00
[tfman] proper structure paths #2457
This commit is contained in:
parent
83976af4b4
commit
6685815c7f
@ -111,6 +111,8 @@ int docstructure_add(docstructure* ds, const char* title, int line,
|
||||
if((addpath[z] = ds->curpath[z]) == UINT_MAX){
|
||||
ds->curpath[z] = 0;
|
||||
addpath[z] = 0;
|
||||
}else if(z == level){
|
||||
addpath[z] = ++ds->curpath[z];
|
||||
}
|
||||
++z;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user