Mercurial > pidgin
changeset 12077:3cf98e532126
[gaim-migrate @ 14374]
Stu pointed out that I probably want to leave this how it was.
This should allow you to use the same 3rd party plugins
across platforms using the same prefs.xml?
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 14 Nov 2005 03:38:40 +0000 |
parents | 4fb1edd43f45 |
children | 240a5fd91bdb |
files | src/plugin.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/plugin.c Mon Nov 14 03:29:27 2005 +0000 +++ b/src/plugin.c Mon Nov 14 03:38:40 2005 +0000 @@ -97,7 +97,9 @@ if (last_period == NULL) return FALSE; - return !(strcmp(last_period + 1, G_MODULE_SUFFIX)); + return !(strcmp(last_period, ".dll") & + strcmp(last_period, ".sl") & + strcmp(last_period, ".so")); } static char *