fixed a formatting bug in HelpFormatter

This commit is contained in:
Guenter Obiltschnig
2007-02-26 09:18:05 +00:00
parent d6b783cc3b
commit 52166593b8
2 changed files with 5 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
//
// HelpFormatter.cpp
//
// $Id: //poco/Main/Util/src/HelpFormatter.cpp#7 $
// $Id: //poco/1.3/Util/src/HelpFormatter.cpp#2 $
//
// Library: Util
// Package: Options
@@ -50,12 +50,13 @@ const int HelpFormatter::LINE_WIDTH = 78;
HelpFormatter::HelpFormatter(const OptionSet& options):
_options(options),
_width(LINE_WIDTH),
_indent(calcIndent()),
_indent(0),
_unixStyle(true)
{
#if !defined(POCO_OS_FAMILY_UNIX)
_unixStyle = false;
#endif
_indent = calcIndent();
}