aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-11-11 23:27:10 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-11-11 23:27:10 +0800
commit0ee1f1197dd65d8826a6da7a8ba67c106bbdbfa2 (patch)
tree3f010ef67b75de053aac1106ada058300488daef /libempathy-gtk
parent6e2898bd89534c7cc78b654e8bc35d4c125b7b36 (diff)
downloadgsoc2013-empathy-0ee1f1197dd65d8826a6da7a8ba67c106bbdbfa2.tar
gsoc2013-empathy-0ee1f1197dd65d8826a6da7a8ba67c106bbdbfa2.tar.gz
gsoc2013-empathy-0ee1f1197dd65d8826a6da7a8ba67c106bbdbfa2.tar.bz2
gsoc2013-empathy-0ee1f1197dd65d8826a6da7a8ba67c106bbdbfa2.tar.lz
gsoc2013-empathy-0ee1f1197dd65d8826a6da7a8ba67c106bbdbfa2.tar.xz
gsoc2013-empathy-0ee1f1197dd65d8826a6da7a8ba67c106bbdbfa2.tar.zst
gsoc2013-empathy-0ee1f1197dd65d8826a6da7a8ba67c106bbdbfa2.zip
Use foo[1] rather than *(foo + 1)
svn path=/trunk/; revision=1694
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-ui-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c
index 498dcc71e..533c39171 100644
--- a/libempathy-gtk/empathy-ui-utils.c
+++ b/libempathy-gtk/empathy-ui-utils.c
@@ -280,7 +280,7 @@ empathy_pixbuf_from_data (gchar *data,
mime_types = gdk_pixbuf_format_get_mime_types (format);
*mime_type = g_strdup (*mime_types);
- if (*(mime_types + 1) != NULL) {
+ if (mime_types[1] != NULL) {
DEBUG ("Loader supports more than one mime "
"type! Picking the first one, %s",
*mime_type);