diff options
Diffstat (limited to '')
-rw-r--r-- | src/minimacro.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/minimacro.cpp b/src/minimacro.cpp index b97cefc..0d524a9 100644 --- a/src/minimacro.cpp +++ b/src/minimacro.cpp | |||
@@ -141,7 +141,7 @@ Bu::FString Bu::MiniMacro::parseCmd() | |||
141 | Bu::FString Bu::MiniMacro::callFunc( | 141 | Bu::FString Bu::MiniMacro::callFunc( |
142 | const Bu::FString &sIn, const Bu::FString &sFunc ) | 142 | const Bu::FString &sIn, const Bu::FString &sFunc ) |
143 | { | 143 | { |
144 | int i = sFunc.find('('); | 144 | int i = sFunc.findIdx('('); |
145 | if( i < 0 ) | 145 | if( i < 0 ) |
146 | throw Bu::ExceptionBase("That doesn't look like a function call"); | 146 | throw Bu::ExceptionBase("That doesn't look like a function call"); |
147 | Bu::FString sName( sFunc.getStr(), i ); | 147 | Bu::FString sName( sFunc.getStr(), i ); |