Mercurial > pidgin
diff src/gaimrc.c @ 2036:ab15b91b93d8
[gaim-migrate @ 2046]
this doesn't seem to break anything and might fix something
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sat, 16 Jun 2001 07:03:25 +0000 |
parents | 24aed1c31342 |
children | b66aca8e8dce |
line wrap: on
line diff
--- a/src/gaimrc.c Sat Jun 16 06:20:30 2001 +0000 +++ b/src/gaimrc.c Sat Jun 16 07:03:25 2001 +0000 @@ -749,8 +749,7 @@ if (!strcmp(p->option, "sound_cmd")) { g_snprintf(sound_cmd, sizeof(sound_cmd), "%s", p->value[0]); } else if (!strncmp(p->option, "sound", strlen("sound"))) { - sscanf(p->option, "sound%c", (char *)&i); - i -= 'A'; + i = p->option[strlen("sound")] - 'A'; if (p->value[0][0]) sound_file[i] = g_strdup(p->value[0]);