Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
c245cdbc
Commit
c245cdbc
authored
May 19, 2017
by
Marvin Scholz
Browse files
macOS: Use larger type for bookmark hours and minutes
parent
1f77da0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/macosx/VLCBookmarksWindowController.m
View file @
c245cdbc
...
...
@@ -341,11 +341,11 @@ clear:
assert
(
bookmark
!=
NULL
);
mtime_t
total
=
bookmark
->
i_time_offset
;
u
nsigned
hour
=
(
total
/
(
CLOCK_FREQ
*
3600
)
);
u
nsigned
min
=
(
total
%
(
CLOCK_FREQ
*
3600
)
)
/
(
CLOCK_FREQ
*
60
);
u
int64_t
hour
=
(
total
/
(
CLOCK_FREQ
*
3600
)
);
u
int64_t
min
=
(
total
%
(
CLOCK_FREQ
*
3600
)
)
/
(
CLOCK_FREQ
*
60
);
float
sec
=
(
total
%
(
CLOCK_FREQ
*
60
)
)
/
(
CLOCK_FREQ
*
1
.
);
return
[
NSString
stringWithFormat
:
@"%02
d
:%02
d
:%06.3f"
,
hour
,
min
,
sec
];
return
[
NSString
stringWithFormat
:
@"%02
llu
:%02
llu
:%06.3f"
,
hour
,
min
,
sec
];
}
/*****************************************************************************
...
...
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!
Cancel
Please
register
or
sign in
to comment