changeset 243:80be57d8b6fa

eliminate blank line
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Wed, 15 Oct 2008 14:24:34 +0900
parents bd7478109727
children c6c2bb8039ce
files pidgin-twitter.c pidgin-twitter.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin-twitter.c	Wed Oct 08 19:48:13 2008 +0900
+++ b/pidgin-twitter.c	Wed Oct 15 14:24:34 2008 +0900
@@ -969,7 +969,7 @@
         g_free(link);
     }
     else if(which == EXCESS_LF) {
-        g_snprintf(sub, SUBST_BUF_SIZE, "%s", "\n\n");
+        g_snprintf(sub, SUBST_BUF_SIZE, "%s", "\n");
     }
 
     g_string_append(result, sub);
--- a/pidgin-twitter.h	Wed Oct 08 19:48:13 2008 +0900
+++ b/pidgin-twitter.h	Wed Oct 15 14:24:34 2008 +0900
@@ -165,7 +165,7 @@
 #define P_IMAGE_IDENTICA    "<img src=\"(http://.+.identi.ca/.+)\" class=\"avatar profile\" width=\"96\" height=\"96\" alt=\"[A-Za-z0-0_]+\"/>"
 #define P_IMAGE_JISKO       "<img src=\"(http://jisko.net/users/.+/img/avatar/thumb_side\\..+)\" alt=\"Avatar\" />"
 #define P_SIZE_128_WASSR    "\\.128\\."
-#define P_EXCESS_LF         "([\\r|\\n]{3,})"
+#define P_EXCESS_LF         "([\\r|\\n]{2,})"
 
 /* twitter API specific macros */
 #define TWITTER_BASE_URL "http://twitter.com"