From 7a2135ef66cf8b17d5b5fb930f306f4b7538d79d Mon Sep 17 00:00:00 2001 From: gunnar_g Date: Thu, 26 Mar 2009 15:19:25 +0000 Subject: [PATCH] Initialize the user->debt_interest to 0. Calculations are done with this later on. --- src/user.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/user.c b/src/user.c index cd28fbb2..a7b10da3 100644 --- a/src/user.c +++ b/src/user.c @@ -210,6 +210,7 @@ user_set_up_finances(User *user) user->money_in[0][i] = user->money_in[1][i] = 0; user->debt = + user->debt_interest = user->alr_start_week = user->alr_weekly_installment = 0; user->money =