diff options
Diffstat (limited to '')
-rw-r--r-- | src/functionplugger.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/functionplugger.cpp b/src/functionplugger.cpp index c8d3fd2..035e5b9 100644 --- a/src/functionplugger.cpp +++ b/src/functionplugger.cpp | |||
@@ -42,13 +42,13 @@ FunctionPlugger::FunctionPlugger() | |||
42 | if( strncmp("pluginFunction", de->d_name, 15 ) ) | 42 | if( strncmp("pluginFunction", de->d_name, 15 ) ) |
43 | continue; | 43 | continue; |
44 | 44 | ||
45 | Bu::FString sFile("/usr/lib/build/"); | 45 | Bu::String sFile("/usr/lib/build/"); |
46 | sFile += de->d_name; | 46 | sFile += de->d_name; |
47 | char *s = de->d_name; | 47 | char *s = de->d_name; |
48 | for(; *s && *s != '.'; s++ ) { } | 48 | for(; *s && *s != '.'; s++ ) { } |
49 | registerExternalPlugin( | 49 | registerExternalPlugin( |
50 | sFile, | 50 | sFile, |
51 | Bu::FString( de->d_name, (ptrdiff_t)s-(ptrdiff_t)de->d_name ) | 51 | Bu::String( de->d_name, (ptrdiff_t)s-(ptrdiff_t)de->d_name ) |
52 | ); | 52 | ); |
53 | } | 53 | } |
54 | 54 | ||