Issue #1454 - correct stupid typo when changing code layout in filebundle.
This commit is contained in:
parent
7d97d1f648
commit
a420c83a0e
1 changed files with 2 additions and 2 deletions
|
@ -215,8 +215,8 @@ fb_dir *fb_opendir ( const char *path )
|
|||
/* Bundle */
|
||||
#if ENABLE_BUNDLE
|
||||
char *tmp1, *tmp2, *tmp3 = NULL;
|
||||
*tmp1 = strdup(path);
|
||||
*tmp2 = strtok_r(tmp1, "/", &tmp3);
|
||||
tmp1 = strdup(path);
|
||||
tmp2 = strtok_r(tmp1, "/", &tmp3);
|
||||
filebundle_entry_t *fb = filebundle_root;
|
||||
while (fb && tmp2) {
|
||||
if (fb->type == FB_DIR && !strcmp(fb->name, tmp2)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue