Skip to content
Snippets Groups Projects
Commit b4d9d818 authored by Lava Block's avatar Lava Block
Browse files

fix open empty file(name) #33

parent 8ac59d02
No related branches found
No related tags found
No related merge requests found
...@@ -211,6 +211,9 @@ namespace lava { ...@@ -211,6 +211,9 @@ namespace lava {
if (!p) if (!p)
return false; return false;
if (!p[0])
return false;
path = p; path = p;
write_mode = write; write_mode = write;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment