Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
c2779ed4
Commit
c2779ed4
authored
Nov 23, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/misc/win32_specific.c: unicode portability fixes.
parent
9268e987
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
src/misc/win32_specific.c
src/misc/win32_specific.c
+4
-5
No files found.
src/misc/win32_specific.c
View file @
c2779ed4
...
...
@@ -156,7 +156,7 @@ void system_Configure( vlc_t *p_this, int *pi_argc, char *ppsz_argv[] )
msg_Info
(
p_this
,
"one instance mode ENABLED"
);
/* Use a named mutex to check if another instance is already running */
if
(
(
hmutex
=
CreateMutex
(
NULL
,
TRUE
,
"VLC ipc "
VERSION
)
)
==
NULL
)
if
(
!
(
hmutex
=
CreateMutex
(
0
,
TRUE
,
_T
(
"VLC ipc "
)
_T
(
VERSION
)
)
)
)
{
/* Failed for some reason. Just ignore the option and go on as
* normal. */
...
...
@@ -195,8 +195,7 @@ void system_Configure( vlc_t *p_this, int *pi_argc, char *ppsz_argv[] )
/* Locate the window created by the IPC helper thread of the
* 1st instance */
if
(
(
ipcwindow
=
FindWindow
(
NULL
,
"VLC ipc "
VERSION
)
)
==
NULL
)
if
(
!
(
ipcwindow
=
FindWindow
(
0
,
_T
(
"VLC ipc "
)
_T
(
VERSION
)
)
)
)
{
msg_Err
(
p_this
,
"one instance mode DISABLED "
"(couldn't find 1st instance of program)"
);
...
...
@@ -257,8 +256,8 @@ static void IPCHelperThread( vlc_object_t *p_this )
MSG
message
;
ipcwindow
=
CreateWindow
(
"STATIC"
,
/* name of window class */
"VLC ipc "
VERSION
,
/* window title bar text */
CreateWindow
(
_T
(
"STATIC"
),
/* name of window class */
_T
(
"VLC ipc "
)
_T
(
VERSION
),
/* window title bar text */
0
,
/* window style */
0
,
/* default X coordinate */
0
,
/* default Y coordinate */
...
...
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