summaryrefslogtreecommitdiff
path: root/libnautilus-private
diff options
context:
space:
mode:
Diffstat (limited to 'libnautilus-private')
-rw-r--r--libnautilus-private/nautilus-file-operations-progress.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libnautilus-private/nautilus-file-operations-progress.c b/libnautilus-private/nautilus-file-operations-progress.c
index 2bb59920d..393999d3c 100644
--- a/libnautilus-private/nautilus-file-operations-progress.c
+++ b/libnautilus-private/nautilus-file-operations-progress.c
@@ -393,7 +393,8 @@ time_remaining_callback (gpointer callback_data)
if (time_remaining >= 3600) {
str = g_strdup_printf (_("(%d:%02d:%d Remaining)"),
- time_remaining / 3600, time_remaining / 60, time_remaining % 60);
+ time_remaining / 3600, (time_remaining % 3600) / 60, (time_remaining % 3600) % 60);
+
}
else {
str = g_strdup_printf (_("(%d:%02d Remaining)"),