From c435c7daa9df1b08dc85132fcd1c154bea9b69e2 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 20 Jan 2011 18:21:03 +0000 Subject: Fixes to use libbu++ Bu::String --- src/functionfilename.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/functionfilename.cpp') diff --git a/src/functionfilename.cpp b/src/functionfilename.cpp index 57aada9..40f0048 100644 --- a/src/functionfilename.cpp +++ b/src/functionfilename.cpp @@ -12,28 +12,28 @@ FunctionFileName::~FunctionFileName() { } -Bu::FString FunctionFileName::getName() const +Bu::String FunctionFileName::getName() const { return "fileName"; } Variable FunctionFileName::call( Variable &input, VarList /*lParams*/ ) { - Bu::FString sFile; + Bu::String sFile; sFile = input.getString(); - Bu::FString::const_iterator i = sFile.begin(); + Bu::String::const_iterator i = sFile.begin(); for(;;) { - Bu::FString::const_iterator b = i.find('/'); + Bu::String::const_iterator b = i.find('/'); if( !b ) { - return Variable( Bu::FString( i ) ); + return Variable( Bu::String( i ) ); } i = b+1; if( !i ) { - return Variable( Bu::FString( i ) ); + return Variable( Bu::String( i ) ); } } } -- cgit v1.2.3