Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
dbb455e7
Commit
dbb455e7
authored
May 24, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libwine: Don't use libwine_unicode functions.
parent
d20c6cf8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
debug.c
libs/wine/debug.c
+6
-2
No files found.
libs/wine/debug.c
View file @
dbb455e7
...
...
@@ -29,7 +29,6 @@
#include "wine/debug.h"
#include "wine/library.h"
#include "wine/unicode.h"
static
const
char
*
const
debug_classes
[]
=
{
"fixme"
,
"err"
,
"warn"
,
"trace"
};
...
...
@@ -324,7 +323,12 @@ static const char *default_dbgstr_wn( const WCHAR *str, int n )
sprintf
(
res
,
"#%04x"
,
LOWORD
(
str
)
);
return
res
;
}
if
(
n
==
-
1
)
n
=
strlenW
(
str
);
if
(
n
==
-
1
)
{
const
WCHAR
*
end
=
str
;
while
(
*
end
)
end
++
;
n
=
end
-
str
;
}
if
(
n
<
0
)
n
=
0
;
size
=
12
+
min
(
300
,
n
*
5
);
dst
=
res
=
funcs
.
get_temp_buffer
(
n
*
5
+
7
);
...
...
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