Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fwlive.git;a=commitdiff;h=bbfd299c6e2be04da50c0280c07c1890a40ce915

commit bbfd299c6e2be04da50c0280c07c1890a40ce915
Author: James Buren <[email protected]>
Date:   Sun Feb 17 15:58:02 2013 -0600

one last fixup before testing

diff --git a/src/ui_newt.c b/src/ui_newt.c
index a31248b..2f0611b 100644
--- a/src/ui_newt.c
+++ b/src/ui_newt.c
@@ -1142,7 +1142,7 @@ extern bool ui_window_partition(struct device 
**devices,struct disk **disks)

disk_delete_partition(disk);

-        if(strcmp(disk_partition_get_purpose(disk,partition),"extended") != 0)
+        if(strcmp(disk_partition_get_purpose(disk,--partition),"extended") != 
0)
snprintf(text,NEWT_WIDTH+1,"delete last partition");
else
snprintf(text,NEWT_WIDTH+1,"delete extended partition");
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to