From fe0ec1a86fe360ccd9149671fd66ee2fee7b774c Mon Sep 17 00:00:00 2001 From: Alexander Monakov Date: Sun, 12 Dec 2010 13:28:25 +0300 Subject: [PATCH] Fix failure to create 'Users' file --- Source/Account.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Account.cpp b/Source/Account.cpp index 90b585a..d601c4a 100644 --- a/Source/Account.cpp +++ b/Source/Account.cpp @@ -169,7 +169,7 @@ void Account::saveFile(string filename, Account* accountactive) { int numaccounts; int j; - tfile=fopen(ConvertFileName(filename.c_str()), "wb" ); + tfile=fopen(ConvertFileName(filename.c_str(), "wb"), "wb" ); if(tfile) { printf("writing %d accounts :\n",getNbAccounts()); -- 2.39.5