Mercurial > pidgin
comparison libpurple/plugin.c @ 22724:17cd33c5b5ef
Fix a bug where the list of loaded plugins would get removed when
switching between different operating systems. Thanks a bunch to
darthmarth37|LT and Vorondil for the help pin-pointing the bug.
| author | Sadrul Habib Chowdhury <imadil@gmail.com> |
|---|---|
| date | Fri, 25 Apr 2008 05:53:48 +0000 |
| parents | 19f26913fe71 |
| children | 645423a7a7b6 |
comparison
equal
deleted
inserted
replaced
| 22723:f9a88e661fff | 22724:17cd33c5b5ef |
|---|---|
| 1292 if (basename != NULL) | 1292 if (basename != NULL) |
| 1293 basename++; | 1293 basename++; |
| 1294 | 1294 |
| 1295 /* Strip the extension */ | 1295 /* Strip the extension */ |
| 1296 if (basename) | 1296 if (basename) |
| 1297 basename = purple_plugin_get_basename(filename); | 1297 basename = purple_plugin_get_basename(basename); |
| 1298 | 1298 |
| 1299 if (((plugin = purple_plugins_find_with_filename(filename)) != NULL) || | 1299 if (((plugin = purple_plugins_find_with_filename(filename)) != NULL) || |
| 1300 (basename && (plugin = purple_plugins_find_with_basename(basename)) != NULL) || | 1300 (basename && (plugin = purple_plugins_find_with_basename(basename)) != NULL) || |
| 1301 ((plugin = purple_plugin_probe(filename)) != NULL)) | 1301 ((plugin = purple_plugin_probe(filename)) != NULL)) |
| 1302 { | 1302 { |
