summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 7f63430..4c4ca36 100644
--- a/src/mate-screensaver-preferences.c
+++ b/src/mate-screensaver-preferences.c
@@ -942,7 +942,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;
@@ -967,7 +967,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)
{