Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
375a8961
Commit
375a8961
authored
May 05, 2011
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ncurses: fix display glitch in stats/info/meta boxes
parent
be801200
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
modules/gui/ncurses.c
modules/gui/ncurses.c
+4
-3
No files found.
modules/gui/ncurses.c
View file @
375a8961
...
...
@@ -778,8 +778,7 @@ static int DrawMeta(intf_thread_t *p_intf)
continue
;
if
(
p_sys
->
b_color
)
color_set
(
C_CATEGORY
,
NULL
);
MainBoxWrite
(
p_sys
,
l
++
,
" [%s]"
,
vlc_meta_TypeToLocalizedString
(
i
));
MainBoxWrite
(
p_sys
,
l
++
,
" [%s]"
,
vlc_meta_TypeToLocalizedString
(
i
));
if
(
p_sys
->
b_color
)
color_set
(
C_DEFAULT
,
NULL
);
MainBoxWrite
(
p_sys
,
l
++
,
" %s"
,
psz_meta
);
}
...
...
@@ -1221,7 +1220,9 @@ static void Redraw(intf_thread_t *p_intf)
{
FillBox
(
p_intf
);
if
(
p_sys
->
i_box_start
>
p_sys
->
i_box_lines_total
-
1
)
if
(
p_sys
->
i_box_lines_total
==
0
)
p_sys
->
i_box_start
=
0
;
else
if
(
p_sys
->
i_box_start
>
p_sys
->
i_box_lines_total
-
1
)
p_sys
->
i_box_start
=
p_sys
->
i_box_lines_total
-
1
;
y
+=
__MIN
(
p_sys
->
i_box_lines_total
-
p_sys
->
i_box_start
,
p_sys
->
i_box_height
);
...
...
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