Mercurial > pidgin
diff libpurple/protocols/novell/nmrtf.c @ 15822:32c366eeeb99
sed -ie 's/gaim/purple/g'
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Mon, 19 Mar 2007 07:01:17 +0000 |
parents | 5fe8042783c1 |
children | 941965d6fd88 |
line wrap: on
line diff
--- a/libpurple/protocols/novell/nmrtf.c Mon Mar 19 06:11:46 2007 +0000 +++ b/libpurple/protocols/novell/nmrtf.c Mon Mar 19 07:01:17 2007 +0000 @@ -233,7 +233,7 @@ if (status == NMRTF_OK) return g_strdup(ctx->output->str); - gaim_debug_info("novell", "RTF parser failed with error code %d", status); + purple_debug_info("novell", "RTF parser failed with error code %d", status); return NULL; } @@ -312,7 +312,7 @@ case 254: return "CP437"; default: - gaim_debug_info("novell", "Unhandled font charset %d\n", font->charset); + purple_debug_info("novell", "Unhandled font charset %d\n", font->charset); return "CP1252"; } return "CP1252"; @@ -331,7 +331,7 @@ font->name = g_strdup(name); font->charset = charset; - gaim_debug_info("novell", "Adding font to table: #%d\t%s\t%d\n", + purple_debug_info("novell", "Adding font to table: #%d\t%s\t%d\n", font->number, font->name, font->charset); ctx->font_table = g_slist_append(ctx->font_table, font); @@ -629,7 +629,7 @@ /* convert the unicode character to utf8 and add directly to the output buffer */ num = g_unichar_to_utf8((gunichar) ch, buf); buf[num] = 0; - gaim_debug_info("novell", "converted unichar 0x%X to utf8 char %s\n", ch, buf); + purple_debug_info("novell", "converted unichar 0x%X to utf8 char %s\n", ch, buf); ctx->output = g_string_append(ctx->output, buf); return NMRTF_OK; @@ -656,7 +656,7 @@ ctx->ansi = g_string_truncate(ctx->ansi, 0); } else { status = NMRTF_CONVERT_ERROR; - gaim_debug_info("novell", "failed to convert data! error code = %d msg = %s\n", + purple_debug_info("novell", "failed to convert data! error code = %d msg = %s\n", gerror->code, gerror->message); g_free(gerror); } @@ -783,7 +783,7 @@ ctx->ris = NMRTF_STATE_HEX; break; case NMRTF_SPECIAL_UNICODE: - gaim_debug_info("novell", "parsing unichar\n"); + purple_debug_info("novell", "parsing unichar\n"); status = rtf_dispatch_unicode_char(ctx, ctx->param); /* Skip next char */ if (status == NMRTF_OK)