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
8de45a3d
Commit
8de45a3d
authored
Oct 17, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
Oct 17, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp71: Fixed basic_string::ptr implementation.
parent
84c5e3a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
string.c
dlls/msvcp71/string.c
+4
-4
No files found.
dlls/msvcp71/string.c
View file @
8de45a3d
...
...
@@ -531,7 +531,7 @@ const MSVCP_size_t MSVCP_basic_string_char_npos = -1;
DEFINE_THISCALL_WRAPPER
(
basic_string_char_ptr
,
4
)
char
*
__thiscall
basic_string_char_ptr
(
basic_string_char
*
this
)
{
if
(
this
->
res
==
BUF_SIZE_CHAR
-
1
)
if
(
this
->
res
<
BUF_SIZE_CHAR
)
return
this
->
data
.
buf
;
return
this
->
data
.
ptr
;
}
...
...
@@ -541,7 +541,7 @@ char* __thiscall basic_string_char_ptr(basic_string_char *this)
DEFINE_THISCALL_WRAPPER
(
basic_string_char_const_ptr
,
4
)
const
char
*
__thiscall
basic_string_char_const_ptr
(
const
basic_string_char
*
this
)
{
if
(
this
->
res
==
BUF_SIZE_CHAR
-
1
)
if
(
this
->
res
<
BUF_SIZE_CHAR
)
return
this
->
data
.
buf
;
return
this
->
data
.
ptr
;
}
...
...
@@ -2214,7 +2214,7 @@ const MSVCP_size_t MSVCP_basic_string_wchar_npos = -1;
DEFINE_THISCALL_WRAPPER
(
basic_string_wchar_ptr
,
4
)
wchar_t
*
__thiscall
basic_string_wchar_ptr
(
basic_string_wchar
*
this
)
{
if
(
this
->
res
==
BUF_SIZE_WCHAR
-
1
)
if
(
this
->
res
<
BUF_SIZE_WCHAR
)
return
this
->
data
.
buf
;
return
this
->
data
.
ptr
;
}
...
...
@@ -2226,7 +2226,7 @@ wchar_t* __thiscall basic_string_wchar_ptr(basic_string_wchar *this)
DEFINE_THISCALL_WRAPPER
(
basic_string_wchar_const_ptr
,
4
)
const
wchar_t
*
__thiscall
basic_string_wchar_const_ptr
(
const
basic_string_wchar
*
this
)
{
if
(
this
->
res
==
BUF_SIZE_WCHAR
-
1
)
if
(
this
->
res
<
BUF_SIZE_WCHAR
)
return
this
->
data
.
buf
;
return
this
->
data
.
ptr
;
}
...
...
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