empathy r1694 - trunk/libempathy-gtk
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r1694 - trunk/libempathy-gtk
- Date: Tue, 11 Nov 2008 15:27:10 +0000 (UTC)
Author: xclaesse
Date: Tue Nov 11 15:27:10 2008
New Revision: 1694
URL: http://svn.gnome.org/viewvc/empathy?rev=1694&view=rev
Log:
Use foo[1] rather than *(foo + 1)
Modified:
trunk/libempathy-gtk/empathy-ui-utils.c
Modified: trunk/libempathy-gtk/empathy-ui-utils.c
==============================================================================
--- trunk/libempathy-gtk/empathy-ui-utils.c (original)
+++ trunk/libempathy-gtk/empathy-ui-utils.c Tue Nov 11 15:27:10 2008
@@ -280,7 +280,7 @@
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]