From c9da76f1f5ff601d7fa4ac990852b0705c842157 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 24 May 2007 05:29:45 +0000 Subject: [PATCH] Fix whitespace. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18482 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/support/fs_extras.cpp | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/support/fs_extras.cpp b/src/support/fs_extras.cpp index c105620385..2dc84339c0 100644 --- a/src/support/fs_extras.cpp +++ b/src/support/fs_extras.cpp @@ -103,16 +103,15 @@ void copy_file(path const & source, path const & target, bool noclobber) fs::lookup_errno(errno))); } - struct stat source_stat; - int const ret = ::fstat(infile, &source_stat); - if (ret == -1) { + struct stat source_stat; + int const ret = ::fstat(infile, &source_stat); + if (ret == -1) { int err = errno; - ::close(infile); - boost::throw_exception( - filesystem_path_error( - "boost::filesystem::copy_file", - source, target, - fs::lookup_errno(err))); + ::close(infile); + boost::throw_exception(filesystem_path_error( + "boost::filesystem::copy_file", + source, target, + fs::lookup_errno(err))); } int const flags = O_WRONLY | O_CREAT | (noclobber ? O_EXCL : O_TRUNC); -- 2.39.2