|
|
|
|
@ -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()); |
|
|
|
|
} |
|
|
|
|
|