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
48edfbb9
Commit
48edfbb9
authored
Nov 29, 2013
by
Felix Abecassis
Committed by
Rémi Denis-Courmont
Nov 30, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix concatenation of Unicode string literals.
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
ef1cc023
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
src/config/help.c
src/config/help.c
+1
-1
src/win32/specific.c
src/win32/specific.c
+4
-4
No files found.
src/config/help.c
View file @
48edfbb9
...
...
@@ -685,7 +685,7 @@ static void ShowConsole( void )
* Unicode/locale subsystem. By default, we have the obsolecent OEM code
* page (e.g. CP437 or CP850). */
SetConsoleOutputCP
(
GetACP
());
SetConsoleTitle
(
TEXT
(
"VLC media player version "
PACKAGE_VERSION
));
SetConsoleTitle
(
TEXT
(
"VLC media player version "
)
TEXT
(
PACKAGE_VERSION
));
freopen
(
"CONOUT$"
,
"w"
,
stderr
);
freopen
(
"CONIN$"
,
"r"
,
stdin
);
...
...
src/win32/specific.c
View file @
48edfbb9
...
...
@@ -109,7 +109,7 @@ void system_Configure( libvlc_int_t *p_this, int i_argc, const char *const ppsz_
msg_Info
(
p_this
,
"one instance mode ENABLED"
);
/* Use a named mutex to check if another instance is already running */
if
(
!
(
hmutex
=
CreateMutex
(
0
,
TRUE
,
L"VLC ipc "
VERSION
)
)
)
if
(
!
(
hmutex
=
CreateMutex
(
0
,
TRUE
,
L"VLC ipc "
TEXT
(
VERSION
)
)
)
)
{
/* Failed for some reason. Just ignore the option and go on as
* normal. */
...
...
@@ -154,7 +154,7 @@ void system_Configure( libvlc_int_t *p_this, int i_argc, const char *const ppsz_
/* Locate the window created by the IPC helper thread of the
* 1st instance */
if
(
!
(
ipcwindow
=
FindWindow
(
0
,
L"VLC ipc "
VERSION
)
)
)
if
(
!
(
ipcwindow
=
FindWindow
(
0
,
L"VLC ipc "
TEXT
(
VERSION
)
)
)
)
{
msg_Err
(
p_this
,
"one instance mode DISABLED "
"(couldn't find 1st instance of program)"
);
...
...
@@ -221,7 +221,7 @@ static unsigned __stdcall IPCHelperThread( void *data )
ipcwindow
=
CreateWindow
(
L"STATIC"
,
/* name of window class */
L"VLC ipc "
VERSION
,
/* window title bar text */
L"VLC ipc "
TEXT
(
VERSION
)
,
/* window title bar text */
0
,
/* window style */
0
,
/* default X coordinate */
0
,
/* default Y coordinate */
...
...
@@ -331,7 +331,7 @@ void system_End(void)
/* FIXME: thread-safety... */
if
(
p_helper
)
{
if
(
(
ipcwindow
=
FindWindow
(
0
,
L"VLC ipc "
VERSION
)
)
!=
0
)
if
(
(
ipcwindow
=
FindWindow
(
0
,
L"VLC ipc "
TEXT
(
VERSION
)
)
)
!=
0
)
{
SendMessage
(
ipcwindow
,
WM_QUIT
,
0
,
0
);
}
...
...
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