From 7479c238f4715b39aedece2c4d9e1ba67fe6b9b4 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 22 Oct 2016 04:18:50 +0200 Subject: [PATCH] Simplify two strings - do away with 'of' separator --- command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/command.c b/command.c index 00d76ce5c0..f6e2deb818 100644 --- a/command.c +++ b/command.c @@ -911,7 +911,7 @@ static void command_event_disk_control_set_index(unsigned idx) if (control->set_image_index(idx)) { if (idx < num_disks) - snprintf(msg, sizeof(msg), "Setting disk %u of %u in tray.", + snprintf(msg, sizeof(msg), "Setting disk %u/%u in tray.", idx + 1, num_disks); else strlcpy(msg, @@ -921,7 +921,7 @@ static void command_event_disk_control_set_index(unsigned idx) else { if (idx < num_disks) - snprintf(msg, sizeof(msg), "Failed to set disk %u of %u.", + snprintf(msg, sizeof(msg), "Failed to set disk %u/%u.", idx + 1, num_disks); else strlcpy(msg,