Mercurial > pidgin
diff src/gaimrc.c @ 2372:2927c2c26fe6
[gaim-migrate @ 2385]
reformatting. nothing else.
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Thu, 27 Sep 2001 19:17:11 +0000 |
| parents | 117e9f0950b6 |
| children | cacaf7ace3a5 |
line wrap: on
line diff
--- a/src/gaimrc.c Thu Sep 27 17:44:23 2001 +0000 +++ b/src/gaimrc.c Thu Sep 27 19:17:11 2001 +0000 @@ -219,8 +219,7 @@ /* auto { time } { default message } */ else if (!strcmp(p->option, "auto")) { auto_away = atoi(p->value[0]); - default_away = g_slist_nth_data(away_messages, - atoi(p->value[1])); + default_away = g_slist_nth_data(away_messages, atoi(p->value[1])); } } } @@ -249,7 +248,7 @@ awy = g_slist_next(awy); } - fprintf(f, "\tauto { %d } { %d }\n", auto_away, + fprintf(f, "\tauto { %d } { %d }\n", auto_away, g_slist_index(away_messages, default_away)); } else { fprintf(f, "\tmessage { boring default } { %s }\n", BORING_DEFAULT_AWAY_MSG); @@ -293,7 +292,7 @@ g_snprintf(b->sound, sizeof(b->sound), "%s", p->value[6]); filter_break(b->sound); - + buddy_pounces = g_list_append(buddy_pounces, b); } } @@ -448,7 +447,7 @@ } if ((i = strlen(u->user_info))) { - u->user_info[i-1] = '\0'; + u->user_info[i - 1] = '\0'; } if (!fgets(buf, sizeof(buf), f)) {
