Skip to content

Commit

Permalink
Fix search and replace goof
Browse files Browse the repository at this point in the history
  • Loading branch information
dashodanger committed Jun 9, 2024
1 parent cf51a7e commit 0e8fe17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/lib_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ bool IsPathAbsolute(std::string_view path)
FILE *FileOpen(std::string_view name, std::string_view mode)
{
SYS_ASSERT(!name.empty());
return FileOpen(std::string(name).c_str(), std::string(mode).c_str());
return fopen(std::string(name).c_str(), std::string(mode).c_str());
}
bool FileRename(std::string_view oldname, std::string_view newname)
{
Expand Down

0 comments on commit 0e8fe17

Please sign in to comment.