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
ab509cde
Commit
ab509cde
authored
May 01, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
May 01, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: SysStringByteLen code clean up.
parent
7fded888
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
12 deletions
+1
-12
oleaut.c
dlls/oleaut32/oleaut.c
+1
-12
No files found.
dlls/oleaut32/oleaut.c
View file @
ab509cde
...
...
@@ -171,18 +171,7 @@ UINT WINAPI SysStringLen(BSTR str)
*/
UINT
WINAPI
SysStringByteLen
(
BSTR
str
)
{
DWORD
*
bufferPointer
;
if
(
!
str
)
return
0
;
/*
* The length of the string (in bytes) is contained in a DWORD placed
* just before the BSTR pointer
*/
bufferPointer
=
(
DWORD
*
)
str
;
bufferPointer
--
;
return
(
int
)(
*
bufferPointer
);
return
str
?
*
((
DWORD
*
)
str
-
1
)
:
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