diff options
Diffstat (limited to '')
-rw-r--r-- | src/viewplugger.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/viewplugger.cpp b/src/viewplugger.cpp index 58f3605..cdde2f6 100644 --- a/src/viewplugger.cpp +++ b/src/viewplugger.cpp | |||
@@ -19,13 +19,13 @@ ViewPlugger::ViewPlugger() | |||
19 | if( strncmp("pluginView", de->d_name, 15 ) ) | 19 | if( strncmp("pluginView", de->d_name, 15 ) ) |
20 | continue; | 20 | continue; |
21 | 21 | ||
22 | Bu::FString sFile("/usr/lib/build/"); | 22 | Bu::String sFile("/usr/lib/build/"); |
23 | sFile += de->d_name; | 23 | sFile += de->d_name; |
24 | char *s = de->d_name; | 24 | char *s = de->d_name; |
25 | for(; *s && *s != '.'; s++ ) { } | 25 | for(; *s && *s != '.'; s++ ) { } |
26 | registerExternalPlugin( | 26 | registerExternalPlugin( |
27 | sFile, | 27 | sFile, |
28 | Bu::FString( de->d_name, (ptrdiff_t)s-(ptrdiff_t)de->d_name ) | 28 | Bu::String( de->d_name, (ptrdiff_t)s-(ptrdiff_t)de->d_name ) |
29 | ); | 29 | ); |
30 | } | 30 | } |
31 | 31 | ||