Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Apps
xfce4-screensaver
Commits
465c24d0
Commit
465c24d0
authored
Sep 11, 2017
by
raveit65
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix loop initial declarations
parent
f2228cc6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/mate-screensaver-preferences.c
src/mate-screensaver-preferences.c
+2
-2
No files found.
src/mate-screensaver-preferences.c
View file @
465c24d0
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment