comparison src/plugins.c @ 944:2f64424bf319

[gaim-migrate @ 954] small change committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 03 Oct 2000 20:22:35 +0000
parents 446d7d2cc909
children 9eb07b383df4
comparison
equal deleted inserted replaced
943:446d7d2cc909 944:2f64424bf319
158 return; 158 return;
159 } 159 }
160 c = g_list_next(c); 160 c = g_list_next(c);
161 } 161 }
162 plug = g_malloc(sizeof *plug); 162 plug = g_malloc(sizeof *plug);
163 if (filename[0] != '/') 163 if (!g_path_is_absolute(filename))
164 plug->filename = g_strconcat(g_get_home_dir(), G_DIR_SEPARATOR_S, 164 plug->filename = g_strconcat(g_get_home_dir(), G_DIR_SEPARATOR_S,
165 PLUGIN_DIR, filename, NULL); 165 PLUGIN_DIR, filename, NULL);
166 else 166 else
167 plug->filename = g_strdup(filename); 167 plug->filename = g_strdup(filename);
168 168