aboutsummaryrefslogtreecommitdiff
path: root/src/functionreplace.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/functionreplace.cpp')
-rw-r--r--src/functionreplace.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/functionreplace.cpp b/src/functionreplace.cpp
index b341e44..589ef55 100644
--- a/src/functionreplace.cpp
+++ b/src/functionreplace.cpp
@@ -12,14 +12,14 @@ FunctionReplace::~FunctionReplace()
12{ 12{
13} 13}
14 14
15Bu::FString FunctionReplace::getName() const 15Bu::String FunctionReplace::getName() const
16{ 16{
17 return "replace"; 17 return "replace";
18} 18}
19 19
20Variable FunctionReplace::call( Variable &input, VarList lParams ) 20Variable FunctionReplace::call( Variable &input, VarList lParams )
21{ 21{
22 Bu::FString sA, sB; 22 Bu::String sA, sB;
23 sA = lParams.first().getString(); 23 sA = lParams.first().getString();
24 sB = lParams.last().getString(); 24 sB = lParams.last().getString();
25 switch( input.getType() ) 25 switch( input.getType() )