]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Account.cpp
Remove some extra declarations of "channels"
[lugaru.git] / Source / Account.cpp
index 90b585a38b4f20f4a99a911a5c865fcc58a9a6fc..d601c4ac64a4ded51ea548d0c95a611fd7120cc1 100644 (file)
@@ -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());