From 52be1ef0d126f09ba943c7afcf367e7d9347f2fd Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 8 Nov 2012 22:58:28 +0000 Subject: tabconv: it's all spaces now. --- src/functionexists.cpp | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'src/functionexists.cpp') diff --git a/src/functionexists.cpp b/src/functionexists.cpp index 5c71874..0fad1e1 100644 --- a/src/functionexists.cpp +++ b/src/functionexists.cpp @@ -4,7 +4,7 @@ #include PluginInterface3( pluginFunctionExists, exists, FunctionExists, Function, - "Mike Buland", 0, 1 ); + "Mike Buland", 0, 1 ); FunctionExists::FunctionExists() { @@ -16,23 +16,23 @@ FunctionExists::~FunctionExists() Bu::String FunctionExists::getName() const { - return "exists"; + return "exists"; } Variable FunctionExists::call( Variable &input, VarList lParams ) { - Bu::String sFile; - if( input.getType() != Variable::typeNone ) - { - sFile = input.toString(); - } - else - { - sFile = lParams.first().toString(); - } - if( access( sFile.getStr(), F_OK ) == 0 ) - return Variable( true ); - else - return Variable( false ); + Bu::String sFile; + if( input.getType() != Variable::typeNone ) + { + sFile = input.toString(); + } + else + { + sFile = lParams.first().toString(); + } + if( access( sFile.getStr(), F_OK ) == 0 ) + return Variable( true ); + else + return Variable( false ); } -- cgit v1.2.3