Corretto allineamento dei campi numerici.
git-svn-id: svn://10.65.10.50/trunk@1412 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
962ab5d5d1
commit
0d37f92b16
@ -1,4 +1,4 @@
|
|||||||
// $Id: printapp.cpp,v 1.27 1995-05-10 08:55:35 alex Exp $
|
// $Id: printapp.cpp,v 1.28 1995-05-30 14:14:40 angelo Exp $
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
@ -1099,11 +1099,11 @@ bool TPrint_application::print_one (int file)
|
|||||||
if (ft->_flags & ALIGN_FLAG)
|
if (ft->_flags & ALIGN_FLAG)
|
||||||
{
|
{
|
||||||
if (ft->_align == 'r')
|
if (ft->_align == 'r')
|
||||||
toprint.right_just (toprint.len ());
|
toprint.right_just (ft->_size);
|
||||||
else if (ft->_align == 'c')
|
else if (ft->_align == 'c')
|
||||||
toprint.center_just (toprint.len ());
|
toprint.center_just (ft->_size);
|
||||||
else if (ft->_align == 'l')
|
else if (ft->_align == 'l')
|
||||||
toprint.left_just (toprint.len ());
|
toprint.left_just (ft->_size);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_fillchar != ' ' && !(ft->_flags & IGNORE_FILL))
|
if (_fillchar != ' ' && !(ft->_flags & IGNORE_FILL))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user