1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-07-03 16:17:46 +02:00

small fix

This commit is contained in:
Jfreegman 2015-01-01 12:50:51 -05:00
parent 4a124dea43
commit ff0fbbc379
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63

View File

@ -978,7 +978,7 @@ static void friendlist_onDraw(ToxWindow *self, Tox *m)
int day_dist = (
cur_loc_tm.tm_yday - Friends.list[f].last_online.tm.tm_yday
+ ((cur_loc_tm.tm_year - Friends.list[f].last_online.tm.tm_year) * 365)
) % 365;
);
const char *hourmin = Friends.list[f].last_online.hour_min_str;
switch (day_dist) {