[Parted-commits] GNU Parted Official Repository: Changes to 'master'

Jim Meyering meyering at alioth.debian.org
Fri May 25 17:20:23 UTC 2007


 parted/strlist.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0a5faac764f0a23ebcd3abbd5b65395253a1a24a
Author: Jim Meyering <jim at meyering.net>
Date:   Fri May 25 19:13:28 2007 +0200

    Fix off-by-one error in previous change.
    * parted/strlist.c (str_list_print_wrap): Don't output a space unconditionally.

diff --git a/parted/strlist.c b/parted/strlist.c
index b5d2ba4..7739e9b 100644
--- a/parted/strlist.c
+++ b/parted/strlist.c
@@ -495,7 +495,7 @@ str_list_print_wrap (const StrList* list, int line_length, int offset,
 			line_left = line_length - indent;
 
 			if (walk->next || *str)
-				printf ("\n%*s", indent, " ");
+				printf ("\n%*s", indent, "");
 			else if (line_break)
 				putchar ('\n');
 		}



More information about the Parted-commits mailing list