changeset 20525:5bef3197383a

Make my currentmedia changes compile.
author Richard Laager <rlaager@wiktel.com>
date Sun, 16 Sep 2007 18:47:12 +0000
parents a1b40a04f2df
children 915e11fbaeb0 2c8c6d77f12c
files libpurple/protocols/msn/state.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/state.c	Sun Sep 16 18:34:58 2007 +0000
+++ b/libpurple/protocols/msn/state.c	Sun Sep 16 18:47:12 2007 +0000
@@ -101,7 +101,7 @@
 
 	strings = 0;
 	/* Yes, we want to skip the first element here, as it is empty due to
-	 * the cmedia string starting with \0 -- see the examples below.
+	 * the cmedia string starting with \0 -- see the examples below. */
 	while (cmedia_array[++strings] != NULL);
 
 	/* The cmedia_array[2] field contains a 1 if enabled. */
@@ -111,7 +111,7 @@
 		buffer = g_string_new(NULL);
 
 		while (*inptr != '\0') {
-			if ((*inptr == '{') && ((*(inptr + 1) != '\0') && (*(inptr+2) == '}')) {
+			if ((*inptr == '{') && ((*(inptr + 1) != '\0') && (*(inptr+2) == '}'))) {
 				char *tmpptr;
 				int tmp;