Browse Source

Convert ReadOnlyTest to FOpen

pull/1916/head
obligaron 5 years ago committed by Gleb Mazovetskiy
parent
commit
cc542fab2e
  1. 2
      Source/restrict.cpp

2
Source/restrict.cpp

@ -17,7 +17,7 @@ namespace devilution {
void ReadOnlyTest()
{
const std::string path = paths::PrefPath() + "Diablo1ReadOnlyTest.foo";
FILE *f = fopen(path.c_str(), "wt");
FILE *f = FOpen(path.c_str(), "wt");
if (f == nullptr) {
DirErrorDlg(paths::PrefPath().c_str());
}

Loading…
Cancel
Save