Skip to content

Commit

Permalink
fix fail open file begin with > in script
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Li <frank.li@nxp.com>
  • Loading branch information
nxpfrankli committed Jul 26, 2022
1 parent 4bf291e commit 294ab5c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libuuu/buffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1614,6 +1614,10 @@ bool check_file_exist(string filename, bool /*start_async_load*/)
else
path += g_current_dir + fn;
}
else {
path = fn;
}

path.replace('\\', '/');

if (path.empty())
Expand Down

0 comments on commit 294ab5c

Please sign in to comment.