Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=fwlive.git;a=commitdiff;h=d0cce5ca7563ed4d0fe217302a54c441fe8d8fd0
commit d0cce5ca7563ed4d0fe217302a54c441fe8d8fd0 Author: James Buren <r...@frugalware.org> Date: Tue Feb 19 01:29:50 2013 -0600 make the free space text a bit less ugly diff --git a/new/src/ui_newt.c b/new/src/ui_newt.c index 4428f54..83df878 100644 --- a/new/src/ui_newt.c +++ b/new/src/ui_newt.c @@ -960,7 +960,7 @@ extern bool ui_window_partition(struct device **devices,struct disk **disks) size_to_string(size,10,freesize,false); - snprintf(text,NEWT_WIDTH+1,"free space %s",size); + snprintf(text,NEWT_WIDTH+1,"%2cFree Space (%s)",' ',size); newtListboxAppendEntry(listbox,text,(void *) action.data); @@ -1057,7 +1057,7 @@ extern bool ui_window_partition(struct device **devices,struct disk **disks) size_to_string(size,10,disk_get_free_size(disk),false); - snprintf(text,NEWT_WIDTH+1,"free space %s",size); + snprintf(text,NEWT_WIDTH+1,"%2cFree Space (%s)",' ',size); newtListboxInsertEntry(listbox,text,(void *) key.data,(void *) action.data); } @@ -1102,7 +1102,7 @@ extern bool ui_window_partition(struct device **devices,struct disk **disks) { size_to_string(size,10,disk_get_free_size(disk),false); - snprintf(text,NEWT_WIDTH+1,"free space %s",size); + snprintf(text,NEWT_WIDTH+1,"%2cFree Space (%s)",' ',size); newtListboxInsertEntry(listbox,text,(void *) key.data,(void *) action.data); } @@ -1162,7 +1162,7 @@ extern bool ui_window_partition(struct device **devices,struct disk **disks) size_to_string(size,10,disk_get_free_size(disk),false); - snprintf(text,NEWT_WIDTH+1,"free space %s",size); + snprintf(text,NEWT_WIDTH+1,"%2cFree Space (%s)",' ',size); newtListboxDeleteEntry(listbox,(void *) key.data); _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git