X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FAccount.cpp;h=d601c4ac64a4ded51ea548d0c95a611fd7120cc1;hb=1aef858f5ecb3dc8fd816e0155635371ed3632f2;hp=90b585a38b4f20f4a99a911a5c865fcc58a9a6fc;hpb=dc03d60e08bdc0b97ea7b07e8973ed42450c9482;p=lugaru.git 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());