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
8bd0f4ae
Commit
8bd0f4ae
authored
Jan 14, 2013
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Win32: use OutputDebugStringA directly
Since OutputDebugStringW is just a wrapper around OutputDebugStringA
parent
db6b6f8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/misc/messages.c
src/misc/messages.c
+3
-1
No files found.
src/misc/messages.c
View file @
8bd0f4ae
...
@@ -301,6 +301,8 @@ static void PrintMsg (void *d, int type, const msg_item_t *p_item,
...
@@ -301,6 +301,8 @@ static void PrintMsg (void *d, int type, const msg_item_t *p_item,
static
void
Win32DebugOutputMsg
(
void
*
d
,
int
type
,
const
msg_item_t
*
p_item
,
static
void
Win32DebugOutputMsg
(
void
*
d
,
int
type
,
const
msg_item_t
*
p_item
,
const
char
*
format
,
va_list
dol
)
const
char
*
format
,
va_list
dol
)
{
{
VLC_UNUSED
(
p_item
);
const
signed
char
*
pverbose
=
d
;
const
signed
char
*
pverbose
=
d
;
if
(
pverbose
&&
(
*
pverbose
<
0
||
*
pverbose
<
(
type
-
VLC_MSG_ERR
)))
if
(
pverbose
&&
(
*
pverbose
<
0
||
*
pverbose
<
(
type
-
VLC_MSG_ERR
)))
return
;
return
;
...
@@ -323,7 +325,7 @@ static void Win32DebugOutputMsg (void* d, int type, const msg_item_t *p_item,
...
@@ -323,7 +325,7 @@ static void Win32DebugOutputMsg (void* d, int type, const msg_item_t *p_item,
msg
[
msg_len
]
=
'\n'
;
msg
[
msg_len
]
=
'\n'
;
msg
[
msg_len
+
1
]
=
'\0'
;
msg
[
msg_len
+
1
]
=
'\0'
;
}
}
OutputDebugString
(
msg
);
OutputDebugString
A
(
msg
);
}
}
free
(
msg
);
free
(
msg
);
}
}
...
...
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