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/viewplugger.cpp | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'src/viewplugger.cpp') diff --git a/src/viewplugger.cpp b/src/viewplugger.cpp index cdde2f6..1187ab7 100644 --- a/src/viewplugger.cpp +++ b/src/viewplugger.cpp @@ -7,29 +7,29 @@ extern Bu::PluginInfo pluginViewDefault; extern Bu::PluginInfo pluginViewMake; ViewPlugger::ViewPlugger() { - registerBuiltinPlugin( &pluginViewDefault ); - registerBuiltinPlugin( &pluginViewMake ); + registerBuiltinPlugin( &pluginViewDefault ); + registerBuiltinPlugin( &pluginViewMake ); - DIR *dir = opendir("/usr/lib/build"); - if( !dir ) - return; - struct dirent *de; - while( (de = readdir( dir )) ) - { - if( strncmp("pluginView", de->d_name, 15 ) ) - continue; + DIR *dir = opendir("/usr/lib/build"); + if( !dir ) + return; + struct dirent *de; + while( (de = readdir( dir )) ) + { + if( strncmp("pluginView", de->d_name, 15 ) ) + continue; - Bu::String sFile("/usr/lib/build/"); - sFile += de->d_name; - char *s = de->d_name; - for(; *s && *s != '.'; s++ ) { } - registerExternalPlugin( - sFile, - Bu::String( de->d_name, (ptrdiff_t)s-(ptrdiff_t)de->d_name ) - ); - } + Bu::String sFile("/usr/lib/build/"); + sFile += de->d_name; + char *s = de->d_name; + for(; *s && *s != '.'; s++ ) { } + registerExternalPlugin( + sFile, + Bu::String( de->d_name, (ptrdiff_t)s-(ptrdiff_t)de->d_name ) + ); + } - closedir( dir ); + closedir( dir ); } ViewPlugger::~ViewPlugger() -- cgit v1.2.3