summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mate-screensaver-preferences.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mate-screensaver-preferences.c b/src/mate-screensaver-preferences.c
index 0a9f9a6..1ebfd0c 100644
--- a/src/mate-screensaver-preferences.c
+++ b/src/mate-screensaver-preferences.c
@@ -935,7 +935,7 @@ time_to_string_text (long time)
char *secs, *mins, *hours, *string;
int sec, min, hour;
- int inc_len, len_minutes;
+ int n, inc_len, len_minutes;
sec = time % 60;
time = time - sec;
@@ -960,7 +960,7 @@ time_to_string_text (long time)
len_minutes = 0;
- for (int n = 2; n < 60; n++)
+ for (n = 2; n < 60; n++)
{
if (n < 10)
{