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/functionwrite.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/functionwrite.cpp') diff --git a/src/functionwrite.cpp b/src/functionwrite.cpp index 14a396a..4aee4e0 100644 --- a/src/functionwrite.cpp +++ b/src/functionwrite.cpp @@ -3,7 +3,7 @@ #include PluginInterface3( pluginFunctionWrite, write, FunctionWrite, Function, - "Mike Buland", 0, 1 ); + "Mike Buland", 0, 1 ); FunctionWrite::FunctionWrite() { @@ -15,20 +15,20 @@ FunctionWrite::~FunctionWrite() Bu::String FunctionWrite::getName() const { - return "write"; + return "write"; } Variable FunctionWrite::call( Variable &input, VarList lParams ) { - if( lParams.getSize() != 1 ) - { - throw Bu::ExceptionBase( - "write takes one parameter, the string to write." - ); - } - FileMgr::getInstance().get( (ptrdiff_t)input.getOpaque() ).write( - lParams.first().toString() - ); - return Variable(); + if( lParams.getSize() != 1 ) + { + throw Bu::ExceptionBase( + "write takes one parameter, the string to write." + ); + } + FileMgr::getInstance().get( (ptrdiff_t)input.getOpaque() ).write( + lParams.first().toString() + ); + return Variable(); } -- cgit v1.2.3