diff options
Diffstat (limited to 'src/core/main.c')
-rw-r--r-- | src/core/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/main.c b/src/core/main.c index 7ea4929a..52dc2a12 100644 --- a/src/core/main.c +++ b/src/core/main.c | |||
@@ -75,8 +75,7 @@ setIconSearchPath () | |||
75 | char *buf; | 75 | char *buf; |
76 | 76 | ||
77 | dataDir = GNUNET_get_installation_path (GNUNET_IPK_DATADIR); | 77 | dataDir = GNUNET_get_installation_path (GNUNET_IPK_DATADIR); |
78 | buf = | 78 | buf = GNUNET_malloc (strlen (dataDir) + strlen ("../icons/") + 2); |
79 | GNUNET_malloc (strlen (dataDir) + strlen ("../icons/") + 2); | ||
80 | strcpy (buf, dataDir); | 79 | strcpy (buf, dataDir); |
81 | strcat (buf, "../icons/"); | 80 | strcat (buf, "../icons/"); |
82 | gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (), buf); | 81 | gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (), buf); |