Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
94cae6a5
Commit
94cae6a5
authored
May 31, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ncurses: fixed the error that was making the browser so slow.
parent
b33d1c49
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
modules/gui/ncurses.c
modules/gui/ncurses.c
+5
-2
No files found.
modules/gui/ncurses.c
View file @
94cae6a5
...
...
@@ -447,6 +447,7 @@ static int HandleKey( intf_thread_t *p_intf, int i_key )
}
if
(
p_sys
->
i_box_type
==
BOX_BROWSE
)
{
vlc_bool_t
b_ret
=
VLC_TRUE
;
/* Browser navigation */
switch
(
i_key
)
{
...
...
@@ -498,9 +499,11 @@ static int HandleKey( intf_thread_t *p_intf, int i_key )
}
break
;
default:
return
1
;
b_ret
=
VLC_FALSE
;
break
;
}
if
(
b_ret
)
{
if
(
p_sys
->
i_box_bidx
>=
p_sys
->
i_dir_entries
)
p_sys
->
i_box_bidx
=
p_sys
->
i_dir_entries
-
1
;
if
(
p_sys
->
i_box_bidx
<
0
)
p_sys
->
i_box_bidx
=
0
;
return
1
;
...
...
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