summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2004-02-12 23:06:30 +0000
committerOwen Taylor <otaylor@src.gnome.org>2004-02-12 23:06:30 +0000
commit0c4c9f0d1c482740670368466a3aedabec833169 (patch)
tree4ab72a22178a27084146bc26539a9126d1eca851 /gtk
parent7b1d024a0e92aea4d587d38a170d6fe9715dd69f (diff)
downloadgtk+-0c4c9f0d1c482740670368466a3aedabec833169.tar.gz
Remove an extraneous + 1 (#134015, Torsten Schoenfeld)
Thu Feb 12 17:59:52 2004 Owen Taylor <otaylor@redhat.com> * gtk/gtkicontheme.c (gtk_icon_theme_get_search_path): Remove an extraneous + 1 (#134015, Torsten Schoenfeld)
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkicontheme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index 4af3e7ae1a..36ff1440cd 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -689,7 +689,7 @@ gtk_icon_theme_get_search_path (GtkIconTheme *icon_theme,
{
*path = g_new (gchar *, priv->search_path_len + 1);
for (i = 0; i < priv->search_path_len; i++)
- (*path)[i] = g_strdup (priv->search_path[i] + 1);
+ (*path)[i] = g_strdup (priv->search_path[i]);
(*path)[i] = NULL;
}
}