changeset 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 f8de52dbd0cb
files src/plugins.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins.c	Tue Oct 03 19:12:54 2000 +0000
+++ b/src/plugins.c	Tue Oct 03 20:22:35 2000 +0000
@@ -160,7 +160,7 @@
 		c = g_list_next(c);
 	}
 	plug = g_malloc(sizeof *plug);
-	if (filename[0] != '/')
+	if (!g_path_is_absolute(filename))
 		plug->filename = g_strconcat(g_get_home_dir(), G_DIR_SEPARATOR_S,
 			PLUGIN_DIR, filename, NULL);
 	else