aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2009-11-04 00:10:06 +0800
committerXavier Claessens <xclaesse@gmail.com>2009-11-04 00:10:06 +0800
commit59e8855f553fdcd3d23d3f0788ec6628192f0892 (patch)
tree4a3b7ba57b4e57190bceb965e6b95d1560e77f3b
parentaf69bde2866b6d219ae2f88bef748be2526c1604 (diff)
downloadgsoc2013-empathy-59e8855f553fdcd3d23d3f0788ec6628192f0892.tar
gsoc2013-empathy-59e8855f553fdcd3d23d3f0788ec6628192f0892.tar.gz
gsoc2013-empathy-59e8855f553fdcd3d23d3f0788ec6628192f0892.tar.bz2
gsoc2013-empathy-59e8855f553fdcd3d23d3f0788ec6628192f0892.tar.lz
gsoc2013-empathy-59e8855f553fdcd3d23d3f0788ec6628192f0892.tar.xz
gsoc2013-empathy-59e8855f553fdcd3d23d3f0788ec6628192f0892.tar.zst
gsoc2013-empathy-59e8855f553fdcd3d23d3f0788ec6628192f0892.zip
Make clear that for(foo); does nothing.
-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;
}