/pidgin/main: 32d32b5268ba: Mxit: tiny image tweak

Tomasz Wasilczyk twasilczyk at pidgin.im
Fri Apr 11 19:34:03 EDT 2014


Changeset: 32d32b5268bacad55556b4239d7bd541acf49cad
Author:	 Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date:	 2014-04-12 01:33 +0200
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/32d32b5268ba

Description:

Mxit: tiny image tweak

diffstat:

 libpurple/protocols/mxit/markup.c |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (14 lines):

diff --git a/libpurple/protocols/mxit/markup.c b/libpurple/protocols/mxit/markup.c
--- a/libpurple/protocols/mxit/markup.c
+++ b/libpurple/protocols/mxit/markup.c
@@ -1127,9 +1127,7 @@ char* mxit_convert_markup_tx( const char
 						tagstack = g_list_remove( tagstack, tag );
 						g_free( tag );
 					}
-				} else if (purple_str_has_prefix(&message[i],
-					"<img src=\"" PURPLE_IMAGE_STORE_PROTOCOL))
-				{
+				} else if (purple_str_has_prefix(&message[i], "<img src=\"")) {
 					/* inline image */
 					PurpleImage *img;
 					img = purple_image_store_get_from_uri(



More information about the Commits mailing list