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/conditionplugger.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/conditionplugger.cpp')
-rw-r--r-- | src/conditionplugger.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conditionplugger.cpp b/src/conditionplugger.cpp index 3edfa00..53f613a 100644 --- a/src/conditionplugger.cpp +++ b/src/conditionplugger.cpp | |||
@@ -24,13 +24,13 @@ ConditionPlugger::ConditionPlugger() | |||
24 | if( strncmp("pluginCondition", de->d_name, 15 ) ) | 24 | if( strncmp("pluginCondition", de->d_name, 15 ) ) |
25 | continue; | 25 | continue; |
26 | 26 | ||
27 | Bu::FString sFile("/usr/lib/build/"); | 27 | Bu::String sFile("/usr/lib/build/"); |
28 | sFile += de->d_name; | 28 | sFile += de->d_name; |
29 | char *s = de->d_name; | 29 | char *s = de->d_name; |
30 | for(; *s && *s != '.'; s++ ) { } | 30 | for(; *s && *s != '.'; s++ ) { } |
31 | registerExternalPlugin( | 31 | registerExternalPlugin( |
32 | sFile, | 32 | sFile, |
33 | Bu::FString( de->d_name, (ptrdiff_t)s-(ptrdiff_t)de->d_name ) | 33 | Bu::String( de->d_name, (ptrdiff_t)s-(ptrdiff_t)de->d_name ) |
34 | ); | 34 | ); |
35 | } | 35 | } |
36 | 36 | ||