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
e756f132
Commit
e756f132
authored
Aug 19, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove now useless checks
This reverts commit
10d0f724
.
parent
5716471a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
src/libvlc.c
src/libvlc.c
+4
-6
No files found.
src/libvlc.c
View file @
e756f132
...
@@ -1282,7 +1282,7 @@ print_help_section( const module_t *m, const module_config_t *p_item,
...
@@ -1282,7 +1282,7 @@ print_help_section( const module_t *m, const module_config_t *p_item,
{
{
utf8_fprintf
(
stdout
,
RED
" %s:
\n
"
GRAY
,
utf8_fprintf
(
stdout
,
RED
" %s:
\n
"
GRAY
,
module_gettext
(
m
,
p_item
->
psz_text
)
);
module_gettext
(
m
,
p_item
->
psz_text
)
);
if
(
b_description
&&
p_item
->
psz_longtext
&&
*
p_item
->
psz_longtext
)
if
(
b_description
&&
p_item
->
psz_longtext
)
utf8_fprintf
(
stdout
,
MAGENTA
" %s
\n
"
GRAY
,
utf8_fprintf
(
stdout
,
MAGENTA
" %s
\n
"
GRAY
,
module_gettext
(
m
,
p_item
->
psz_longtext
)
);
module_gettext
(
m
,
p_item
->
psz_longtext
)
);
}
}
...
@@ -1290,7 +1290,7 @@ print_help_section( const module_t *m, const module_config_t *p_item,
...
@@ -1290,7 +1290,7 @@ print_help_section( const module_t *m, const module_config_t *p_item,
{
{
utf8_fprintf
(
stdout
,
" %s:
\n
"
,
utf8_fprintf
(
stdout
,
" %s:
\n
"
,
module_gettext
(
m
,
p_item
->
psz_text
)
);
module_gettext
(
m
,
p_item
->
psz_text
)
);
if
(
b_description
&&
p_item
->
psz_longtext
&&
*
p_item
->
psz_longtext
)
if
(
b_description
&&
p_item
->
psz_longtext
)
utf8_fprintf
(
stdout
,
" %s
\n
"
,
utf8_fprintf
(
stdout
,
" %s
\n
"
,
module_gettext
(
m
,
p_item
->
psz_longtext
)
);
module_gettext
(
m
,
p_item
->
psz_longtext
)
);
}
}
...
@@ -1484,8 +1484,7 @@ static void Usage( libvlc_int_t *p_this, char const *psz_search )
...
@@ -1484,8 +1484,7 @@ static void Usage( libvlc_int_t *p_this, char const *psz_search )
utf8_fprintf
(
stdout
,
"
\n
%s
\n
"
,
utf8_fprintf
(
stdout
,
"
\n
%s
\n
"
,
module_gettext
(
p_parser
,
p_item
->
psz_text
)
);
module_gettext
(
p_parser
,
p_item
->
psz_text
)
);
}
}
if
(
b_description
&&
p_item
->
psz_longtext
if
(
b_description
&&
p_item
->
psz_longtext
)
&&
*
p_item
->
psz_longtext
)
{
{
if
(
b_color
)
if
(
b_color
)
utf8_fprintf
(
stdout
,
CYAN
" %s
\n
"
GRAY
,
utf8_fprintf
(
stdout
,
CYAN
" %s
\n
"
GRAY
,
...
@@ -1731,8 +1730,7 @@ static void Usage( libvlc_int_t *p_this, char const *psz_search )
...
@@ -1731,8 +1730,7 @@ static void Usage( libvlc_int_t *p_this, char const *psz_search )
}
}
}
}
if
(
b_description_hack
&&
p_item
->
psz_longtext
if
(
b_description_hack
&&
p_item
->
psz_longtext
)
&&
*
p_item
->
psz_longtext
)
{
{
sprintf
(
psz_buffer
,
"%s%s"
,
sprintf
(
psz_buffer
,
"%s%s"
,
module_gettext
(
p_parser
,
p_item
->
psz_longtext
),
module_gettext
(
p_parser
,
p_item
->
psz_longtext
),
...
...
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