From ec05778d5718a7912e506764d443a78d6a6179e3 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 5 Nov 2012 22:41:51 +0000 Subject: Converted tabs to spaces with tabconv. --- src/tests/lzma.cpp | 78 +++++++++++++++++++++++++++--------------------------- 1 file changed, 39 insertions(+), 39 deletions(-) (limited to 'src/tests/lzma.cpp') diff --git a/src/tests/lzma.cpp b/src/tests/lzma.cpp index 596c396..7d4d1eb 100644 --- a/src/tests/lzma.cpp +++ b/src/tests/lzma.cpp @@ -10,44 +10,44 @@ int main( int argc, char *argv[] ) { - if( argc < 3 ) - { - printf("usage: %s \n", argv[0] ); - return -1; - } - - char buf[1024]; - size_t nRead; - - /* - Bu::File fin( argv[1], Bu::File::Read ); - fin.seek( 4 ); - Bu::Deflate def( fin ); - - Bu::File f( argv[2], Bu::File::WriteNew ); - - for(;;) - { - nRead = def.read( buf, 1024 ); - if( nRead > 0 ) - f.write( buf, nRead ); - if( def.isEos() ) - break; - } - */ - - Bu::File fin( argv[1], Bu::File::Read ); - - Bu::File f( argv[2], Bu::File::WriteNew ); - Bu::Lzma def( f, 9 ); - - for(;;) - { - nRead = fin.read( buf, 1024 ); - if( nRead > 0 ) - def.write( buf, nRead ); - if( fin.isEos() ) - break; - } + if( argc < 3 ) + { + printf("usage: %s \n", argv[0] ); + return -1; + } + + char buf[1024]; + size_t nRead; + + /* + Bu::File fin( argv[1], Bu::File::Read ); + fin.seek( 4 ); + Bu::Deflate def( fin ); + + Bu::File f( argv[2], Bu::File::WriteNew ); + + for(;;) + { + nRead = def.read( buf, 1024 ); + if( nRead > 0 ) + f.write( buf, nRead ); + if( def.isEos() ) + break; + } + */ + + Bu::File fin( argv[1], Bu::File::Read ); + + Bu::File f( argv[2], Bu::File::WriteNew ); + Bu::Lzma def( f, 9 ); + + for(;;) + { + nRead = fin.read( buf, 1024 ); + if( nRead > 0 ) + def.write( buf, nRead ); + if( fin.isEos() ) + break; + } } -- cgit v1.2.3