1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 22:36:38 +02:00

Renamed plugins names (removed "lib" prefix in name)

This commit is contained in:
Sebastien Helleu
2006-06-14 16:23:53 +00:00
parent f6ff17ebb0
commit d8b775d2c4
16 changed files with 64 additions and 50 deletions
+1 -4
View File
@@ -703,10 +703,7 @@ plugin_search_full_name (char *filename)
name_with_ext = (char *)malloc (length);
if (!name_with_ext)
return strdup (filename);
name_with_ext[0] = '\0';
if (ascii_strncasecmp (filename, "lib", 3) != 0)
strcat (name_with_ext, "lib");
strcat (name_with_ext, filename);
strcpy (name_with_ext, filename);
if (!strchr (filename, '.')
&& cfg_plugins_extension && cfg_plugins_extension[0])
strcat (name_with_ext, cfg_plugins_extension);