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
515c1d35
Commit
515c1d35
authored
Jun 15, 2011
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correct comments
parent
04526ea8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
modules/gui/ncurses.c
modules/gui/ncurses.c
+8
-8
No files found.
modules/gui/ncurses.c
View file @
515c1d35
...
...
@@ -348,7 +348,7 @@ static void CheckIdx(intf_sys_t *p_sys)
}
/* Fix box start (1st line of the box displayed) */
if
(
p_sys
->
i_box_idx
<
p_sys
->
i_box_start
||
if
(
p_sys
->
i_box_idx
<
p_sys
->
i_box_start
||
p_sys
->
i_box_idx
>
height
+
p_sys
->
i_box_start
+
1
)
{
p_sys
->
i_box_start
=
p_sys
->
i_box_idx
-
height
/
2
;
...
...
@@ -776,7 +776,7 @@ static int SubDrawObject(intf_sys_t *p_sys, int l, vlc_object_t *p_obj, int i_le
return
l
;
}
static
int
DrawObjects
(
intf_thread_t
*
p_intf
)
static
int
DrawObjects
(
intf_thread_t
*
p_intf
)
{
return
SubDrawObject
(
p_intf
->
p_sys
,
0
,
VLC_OBJECT
(
p_intf
->
p_libvlc
),
0
,
""
);
}
...
...
@@ -1918,12 +1918,12 @@ static int Open(vlc_object_t *p_this)
if
(
p_sys
->
b_color
)
start_color_and_pairs
(
p_intf
);
keypad
(
stdscr
,
TRUE
);
/* Don't do NL -> CR/NL */
nonl
();
/*
Take input chars one at a time
*/
cbreak
();
/*
Don't echo
*/
noecho
();
/*
Invisible cursor
*/
curs_set
(
0
);
/*
Non blocking getch()
*/
timeout
(
1000
);
keypad
(
stdscr
,
TRUE
);
nonl
();
/*
Don't do NL -> CR/NL
*/
cbreak
();
/*
Take input chars one at a time
*/
noecho
();
/*
Don't echo
*/
curs_set
(
0
);
/*
Invisible cursor
*/
timeout
(
1000
);
/* blocking getch() */
clear
();
/* Stop printing errors to the console */
...
...
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