diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 18:21:03 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 18:21:03 +0000 |
commit | c435c7daa9df1b08dc85132fcd1c154bea9b69e2 (patch) | |
tree | 5537f3c91a67b35c4c8aa918b708b7e4aad8f146 /src/functionplugger.cpp | |
parent | 59690513123de8904eef2a03fe7fcaaed98b1b7b (diff) | |
download | build-c435c7daa9df1b08dc85132fcd1c154bea9b69e2.tar.gz build-c435c7daa9df1b08dc85132fcd1c154bea9b69e2.tar.bz2 build-c435c7daa9df1b08dc85132fcd1c154bea9b69e2.tar.xz build-c435c7daa9df1b08dc85132fcd1c154bea9b69e2.zip |
Fixes to use libbu++ Bu::String
Diffstat (limited to 'src/functionplugger.cpp')
-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 | ||