Mercurial > pidgin
changeset 1270:babea41afa7e
[gaim-migrate @ 1280]
shit. forgot about this. fuck.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 14 Dec 2000 13:37:11 +0000 |
parents | 677e2c9e8baf |
children | e78e823400f3 |
files | src/dialogs.c |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dialogs.c Thu Dec 14 13:32:10 2000 +0000 +++ b/src/dialogs.c Thu Dec 14 13:37:11 2000 +0000 @@ -40,6 +40,7 @@ #include <gtk/gtk.h> #include "gaim.h" #include "gtkhtml.h" +#include "prpl.h" #include "pixmaps/gnome_preferences.xpm" #include "pixmaps/cancel.xpm" @@ -2767,7 +2768,8 @@ file = gaim_user_dir(); if ( file != (char *) NULL ) { - g_snprintf(path, sizeof path, "%s/%s.%d.blist", file, g_screenname, gc->protocol); + g_snprintf(path, sizeof path, "%s/%s.%d.blist", file, g_screenname, + (gc->protocol == PROTO_OSCAR) ? PROTO_TOC : gc->protocol); if ( !stat(path, &sbuf) ) { debug_printf("%s exists.\n", path); ret = TRUE; @@ -2839,7 +2841,8 @@ for (i = 0; i < strlen(g->username); i++) g_screenname[i] = toupper(g->username[i]); g_screenname[i] = '\0'; - sprintf(path, "%s/%s.%d.blist", file, g_screenname, g->protocol); + sprintf(path, "%s/%s.%d.blist", file, g_screenname, + (g->protocol == PROTO_OSCAR) ? PROTO_TOC : g->protocol); if ((f = fopen(path,"w"))) { debug_printf("writing %s\n", path); toc_build_config(g, buf, 8192 - 1, TRUE);