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
97fdb7a9
Commit
97fdb7a9
authored
Dec 18, 2012
by
Andrew Talbot
Committed by
Alexandre Julliard
Dec 19, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole2disp.dll16: Indentation fix.
parent
fa96beb5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
ole2disp.c
dlls/ole2disp.dll16/ole2disp.c
+10
-10
No files found.
dlls/ole2disp.dll16/ole2disp.c
View file @
97fdb7a9
...
@@ -136,22 +136,22 @@ INT16 WINAPI SysReAllocString16(LPBSTR16 pbstr,LPCOLESTR16 oleStr)
...
@@ -136,22 +136,22 @@ INT16 WINAPI SysReAllocString16(LPBSTR16 pbstr,LPCOLESTR16 oleStr)
*/
*/
BSTR16
WINAPI
SysAllocStringLen16
(
const
char
*
oleStr
,
int
len
)
BSTR16
WINAPI
SysAllocStringLen16
(
const
char
*
oleStr
,
int
len
)
{
{
BSTR16
out
=
BSTR_AllocBytes
(
len
+
1
);
BSTR16
out
=
BSTR_AllocBytes
(
len
+
1
);
if
(
!
out
)
if
(
!
out
)
return
0
;
return
0
;
/*
/*
* Copy the information in the buffer.
* Copy the information in the buffer.
* Since it is valid to pass a NULL pointer here, we'll initialize the
* Since it is valid to pass a NULL pointer here, we'll initialize the
* buffer to nul if it is the case.
* buffer to nul if it is the case.
*/
*/
if
(
oleStr
!=
0
)
if
(
oleStr
!=
0
)
strcpy
(
BSTR_GetAddr
(
out
),
oleStr
);
strcpy
(
BSTR_GetAddr
(
out
),
oleStr
);
else
else
memset
(
BSTR_GetAddr
(
out
),
0
,
len
+
1
);
memset
(
BSTR_GetAddr
(
out
),
0
,
len
+
1
);
return
out
;
return
out
;
}
}
/******************************************************************************
/******************************************************************************
...
...
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