Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
c8ec9091
Commit
c8ec9091
authored
Jan 22, 2013
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Win32: check AllocConsole() return value
parent
82a8a42a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/config/help.c
src/config/help.c
+2
-1
No files found.
src/config/help.c
View file @
c8ec9091
...
@@ -808,7 +808,8 @@ static void ShowConsole( void )
...
@@ -808,7 +808,8 @@ static void ShowConsole( void )
if
(
getenv
(
"PWD"
)
)
return
;
/* Cygwin shell or Wine */
if
(
getenv
(
"PWD"
)
)
return
;
/* Cygwin shell or Wine */
AllocConsole
();
if
(
!
AllocConsole
()
)
return
;
/* Use the ANSI code page (e.g. Windows-1252) as expected by the LibVLC
/* Use the ANSI code page (e.g. Windows-1252) as expected by the LibVLC
* Unicode/locale subsystem. By default, we have the obsolecent OEM code
* Unicode/locale subsystem. By default, we have the obsolecent OEM code
* page (e.g. CP437 or CP850). */
* page (e.g. CP437 or CP850). */
...
...
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