Commit 465c24d0 authored by raveit65's avatar raveit65

fix loop initial declarations

parent f2228cc6
...@@ -942,7 +942,7 @@ time_to_string_text (long time) ...@@ -942,7 +942,7 @@ time_to_string_text (long time)
char *secs, *mins, *hours, *string; char *secs, *mins, *hours, *string;
int sec, min, hour; int sec, min, hour;
int inc_len, len_minutes; int n, inc_len, len_minutes;
sec = time % 60; sec = time % 60;
time = time - sec; time = time - sec;
...@@ -967,7 +967,7 @@ time_to_string_text (long time) ...@@ -967,7 +967,7 @@ time_to_string_text (long time)
len_minutes = 0; len_minutes = 0;
for (int n = 2; n < 60; n++) for (n = 2; n < 60; n++)
{ {
if (n < 10) if (n < 10)
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment