mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-18 14:17:03 +01:00
gpg: Fix indentation of --print-mds and --print-md sha512.
* g10/gpg.c (print_hex): Fix indentation. -- GnuPG-bug-id: 5679
This commit is contained in:
parent
fa738173f9
commit
d9deac7791
@ -5417,7 +5417,7 @@ print_hex (gcry_md_hd_t md, int algo, const char *fname)
|
|||||||
{
|
{
|
||||||
if(count+2>79)
|
if(count+2>79)
|
||||||
{
|
{
|
||||||
es_printf ("\n%*s",indent," ");
|
es_printf ("\n%*s",indent,indent?" ":"");
|
||||||
count = indent;
|
count = indent;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -5432,7 +5432,7 @@ print_hex (gcry_md_hd_t md, int algo, const char *fname)
|
|||||||
{
|
{
|
||||||
if(count+4>79)
|
if(count+4>79)
|
||||||
{
|
{
|
||||||
es_printf ("\n%*s",indent," ");
|
es_printf ("\n%*s",indent,indent?" ":"");
|
||||||
count=indent;
|
count=indent;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -5446,9 +5446,9 @@ print_hex (gcry_md_hd_t md, int algo, const char *fname)
|
|||||||
{
|
{
|
||||||
if(!(i%4))
|
if(!(i%4))
|
||||||
{
|
{
|
||||||
if (count+8>79)
|
if (count+8>=79)
|
||||||
{
|
{
|
||||||
es_printf ("\n%*s",indent," ");
|
es_printf ("\n%*s",indent, indent?" ":"");
|
||||||
count=indent;
|
count=indent;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user