aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy-gtk/empathy-chat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index 81d0d0722..d8acd3b4e 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -630,7 +630,8 @@ chat_command_parse (const gchar *text, guint max_parts)
}
/* Search the end of this part, until first space. */
- for (end = text; *end != '\0' && !g_ascii_isspace (*end); end++);
+ for (end = text; *end != '\0' && !g_ascii_isspace (*end); end++)
+ /* Do nothing */;
if (*end == '\0') {
break;
}