diff options
author | raveit65 <[email protected]> | 2017-09-11 11:04:54 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-09-11 11:42:01 +0200 |
commit | 2ec9f8d5e8f659fd5c20dd12edadc17c0c2fce0a (patch) | |
tree | 869578b51b57eccee9290dba90075f8862435429 | |
parent | 81c328de06c9b1b0d681833ce9e7b677db729721 (diff) | |
download | mate-screensaver-2ec9f8d5e8f659fd5c20dd12edadc17c0c2fce0a.tar.bz2 mate-screensaver-2ec9f8d5e8f659fd5c20dd12edadc17c0c2fce0a.tar.xz |
fix loop initial declarations
-rw-r--r-- | src/mate-screensaver-preferences.c | 4 |
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) { |