# HG changeset patch # User Yoshiki Yazawa # Date 1210684794 -32400 # Node ID 82b2b37673117a29f66f3e5e1cecfb9b3aa555a2 # Parent 42869098eda350fecba808be46e3583dc5086800 fixed indentation of strip_html_markup() diff -r 42869098eda3 -r 82b2b3767311 pidgin-twitter.c --- a/pidgin-twitter.c Tue May 13 21:25:47 2008 +0900 +++ b/pidgin-twitter.c Tue May 13 22:19:54 2008 +0900 @@ -98,7 +98,7 @@ static void init_plugin(PurplePlugin *plugin); -/* tentative: this function is a modified clone of purple_markup_strip_html() */ +/* this function is a modified clone of purple_markup_strip_html() */ static char * strip_html_markup(const char *str) { @@ -123,7 +123,7 @@ { /* Note: Don't even assume any other tag is a tag in CDATA */ if (g_ascii_strncasecmp(str2 + i, cdata_close_tag, - strlen(cdata_close_tag)) == 0) + strlen(cdata_close_tag)) == 0) { i += strlen(cdata_close_tag) - 1; cdata_close_tag = NULL; @@ -204,12 +204,12 @@ /* Check for tags which should be mapped to newline */ else if (g_ascii_strncasecmp(str2 + i, "

", 3) == 0 - || g_ascii_strncasecmp(str2 + i, "", 8) == 0) + || g_ascii_strncasecmp(str2 + i, "", 8) == 0) { str2[j++] = '\n'; }