Mercurial > pidgin
changeset 2389:021ba044ab0b
[gaim-migrate @ 2402]
handle new versions better.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sat, 29 Sep 2001 00:18:50 +0000 |
parents | 5a7234d5e052 |
children | bb088ec77c9b |
files | src/gaimrc.c |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gaimrc.c Fri Sep 28 23:54:36 2001 +0000 +++ b/src/gaimrc.c Sat Sep 29 00:18:50 2001 +0000 @@ -1056,12 +1056,8 @@ if ((f = fopen(buf, "r"))) { fgets(buf, sizeof(buf), f); sscanf(buf, "# .gaimrc v%d", &ver); - if ((ver <= 3) || (buf[0] != '#')) { - fclose(f); + if ((ver <= 3) || (buf[0] != '#')) set_defaults(); - save_prefs(); - return; - } while (!feof(f)) { switch (gaimrc_parse_tag(f)) {