summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/nautilus-gdu-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-gdu-window.c b/src/nautilus-gdu-window.c
index 0b7d664..f43da9c 100644
--- a/src/nautilus-gdu-window.c
+++ b/src/nautilus-gdu-window.c
@@ -822,7 +822,7 @@ format_action_completed (GduDevice *device,
scheme = gdu_device_partition_get_scheme (device);
// g_print ("format_action_completed: scheme = %s\n", scheme);
/* TODO: extend to other partition types once this feature is working in DK */
- if (data->priv->job_cancelled && strcmp (scheme, "mbr") == 0) {
+ if (! data->priv->job_cancelled && strcmp (scheme, "mbr") == 0) {
part_type = gdu_device_partition_get_type (device);
data->recommended_part_type = get_part_type_for_fs (data->fstype);
g_print ("format_action_completed: part_type = %s, recommended_part_type = %s\n", part_type, data->recommended_part_type);