Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Николаев Александр Александрович
libakrypt-0.x-parts-implementation
Commits
91258c82
Commit
91258c82
authored
7 months ago
by
Нестеренко Алексей Юрьевич
Browse files
Options
Download
Patches
Plain Diff
Мелкие правки
parent
97fb03f0
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/ak_tools.c
+4
-5
source/ak_tools.c
with
4 additions
and
5 deletions
+4
-5
source/ak_tools.c
+
4
−
5
View file @
91258c82
...
...
@@ -1105,21 +1105,20 @@
if
(
days
>
0
)
{
ak_snprintf
(
ak_static_buffer
,
sizeof
(
ak_static_buffer
)
-
1
,
"%u д. %u ч. %u м. %u сек.
"
,
days
,
hours
,
minutes
,
seconds
);
"%u:%02u:%02u:%02u
"
,
days
,
hours
,
minutes
,
seconds
);
return
ak_static_buffer
;
}
if
(
hours
>
0
)
{
ak_snprintf
(
ak_static_buffer
,
sizeof
(
ak_static_buffer
)
-
1
,
"%u ч. %u м. %u сек.
"
,
hours
,
minutes
,
seconds
);
"%u:%02u:%02u
"
,
hours
,
minutes
,
seconds
);
return
ak_static_buffer
;
}
if
(
minutes
>
0
)
{
ak_snprintf
(
ak_static_buffer
,
sizeof
(
ak_static_buffer
)
-
1
,
"%u м. %u сек."
,
minutes
,
seconds
);
ak_snprintf
(
ak_static_buffer
,
sizeof
(
ak_static_buffer
)
-
1
,
"%02u:%02u"
,
minutes
,
seconds
);
return
ak_static_buffer
;
}
ak_snprintf
(
ak_static_buffer
,
sizeof
(
ak_static_buffer
)
-
1
,
"
%u сек.
"
,
(
unsigned
int
)
timea
);
ak_snprintf
(
ak_static_buffer
,
sizeof
(
ak_static_buffer
)
-
1
,
"
00:%02u
"
,
(
unsigned
int
)
timea
);
return
ak_static_buffer
;
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets