[Xfce4-commits] [apps/xfce4-screensaver] 314/425: fix loop initial declarations
noreply at xfce.org
noreply at xfce.org
Mon Oct 15 01:52:41 CEST 2018
This is an automated email from the git hooks/post-receive script.
b l u e s a b r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/xfce4-screensaver.
commit 465c24d0ad6c09a8463885e4fd70bba146a58d75
Author: raveit65 <mate at raveit.de>
Date: Mon Sep 11 11:04:54 2017 +0200
fix loop initial declarations
---
src/mate-screensaver-preferences.c | 4 ++--
1 file 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)
{
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list