修复加载文件不成功时不记录文件路径的BUG

This commit is contained in:
gb 2022-09-23 18:31:40 +08:00
parent 7b4a3379d1
commit b460001dc4
1 changed files with 1 additions and 1 deletions

View File

@ -904,7 +904,6 @@ namespace gb
if (jsn_->attach_text(&raw[0])) if (jsn_->attach_text(&raw[0]))
{ {
ret = true; ret = true;
file_ = file;
} }
else else
{ {
@ -913,6 +912,7 @@ namespace gb
} }
} }
} }
file_ = file;
return ret; return ret;
} }