|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r68881 - branches/quickbook-filenames/tools/quickbook/src
From: dnljms_at_[hidden]
Date: 2011-02-14 19:19:25
Author: danieljames
Date: 2011-02-14 19:19:24 EST (Mon, 14 Feb 2011)
New Revision: 68881
URL: http://svn.boost.org/trac/boost/changeset/68881
Log:
Detab input_path.
Text files modified:
branches/quickbook-filenames/tools/quickbook/src/input_path.cpp | 6 +++---
branches/quickbook-filenames/tools/quickbook/src/input_path.hpp | 10 +++++-----
2 files changed, 8 insertions(+), 8 deletions(-)
Modified: branches/quickbook-filenames/tools/quickbook/src/input_path.cpp
==============================================================================
--- branches/quickbook-filenames/tools/quickbook/src/input_path.cpp (original)
+++ branches/quickbook-filenames/tools/quickbook/src/input_path.cpp 2011-02-14 19:19:24 EST (Mon, 14 Feb 2011)
@@ -112,7 +112,7 @@
if (size < 0)
throw conversion_error("Error converting cygwin path to windows.");
- // TODO: size is in bytes.
+ // TODO: size is in bytes.
boost::scoped_array<wchar_t> result(new wchar_t[size]);
if(cygwin_conv_path(flags, path.c_str(), result.get(), size))
@@ -161,8 +161,8 @@
void initialise_output()
{
- if (_isatty(_fileno(stdout))) _setmode(_fileno(stdout), _O_U16TEXT);
- if (_isatty(_fileno(stderr))) _setmode(_fileno(stderr), _O_U16TEXT);
+ if (_isatty(_fileno(stdout))) _setmode(_fileno(stdout), _O_U16TEXT);
+ if (_isatty(_fileno(stderr))) _setmode(_fileno(stderr), _O_U16TEXT);
}
void write_utf8(ostream& out, std::string const& x)
Modified: branches/quickbook-filenames/tools/quickbook/src/input_path.hpp
==============================================================================
--- branches/quickbook-filenames/tools/quickbook/src/input_path.hpp (original)
+++ branches/quickbook-filenames/tools/quickbook/src/input_path.hpp 2011-02-14 19:19:24 EST (Mon, 14 Feb 2011)
@@ -18,10 +18,10 @@
#if defined(__cygwin__) || defined(__CYGWIN__)
# define QUICKBOOK_CYGWIN_PATHS 1
#elif defined(_WIN32)
-# define QUICKBOOK_WIDE_PATHS 1
-# if defined(BOOST_MSVC) && BOOST_MSVC >= 1400
-# define QUICKBOOK_WIDE_STREAMS 1
-# endif
+# define QUICKBOOK_WIDE_PATHS 1
+# if defined(BOOST_MSVC) && BOOST_MSVC >= 1400
+# define QUICKBOOK_WIDE_STREAMS 1
+# endif
#endif
#if !defined(QUICKBOOK_WIDE_PATHS)
@@ -75,7 +75,7 @@
std::string input_to_utf8(input_string const&);
fs::path input_to_path(input_string const&);
- stream_string path_to_stream(fs::path const&);
+ stream_string path_to_stream(fs::path const&);
std::string path_to_generic(fs::path const&);
fs::path generic_to_path(std::string const&);
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk