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
12cfebb6
Commit
12cfebb6
authored
Jan 20, 2014
by
Piotr Caban
Committed by
Alexandre Julliard
Jan 27, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp90: Read last character of bool string in num_get_do_get_bool.
parent
75bcbece
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
8 deletions
+16
-8
locale.c
dlls/msvcp60/locale.c
+8
-4
locale.c
dlls/msvcp90/locale.c
+8
-4
No files found.
dlls/msvcp60/locale.c
View file @
12cfebb6
...
...
@@ -4828,8 +4828,7 @@ static istreambuf_iterator_wchar* num_get_do_get_bool(const num_get *this,
pfalse
=
basic_string_wchar_c_str
(
&
false_bstr
);
ptrue
=
basic_string_wchar_c_str
(
&
true_bstr
);
for
(
istreambuf_iterator_wchar_val
(
&
first
);
first
.
strbuf
;
istreambuf_iterator_wchar_inc
(
&
first
))
{
for
(
istreambuf_iterator_wchar_val
(
&
first
);
first
.
strbuf
;)
{
if
(
pfalse
&&
*
pfalse
&&
first
.
val
!=*
pfalse
)
pfalse
=
NULL
;
if
(
ptrue
&&
*
ptrue
&&
first
.
val
!=*
ptrue
)
...
...
@@ -4845,6 +4844,9 @@ static istreambuf_iterator_wchar* num_get_do_get_bool(const num_get *this,
if
(
ptrue
)
ptrue
++
;
if
(
pfalse
||
ptrue
)
istreambuf_iterator_wchar_inc
(
&
first
);
if
((
!
pfalse
||
!*
pfalse
)
&&
(
!
ptrue
||
!*
ptrue
))
break
;
}
...
...
@@ -5608,8 +5610,7 @@ istreambuf_iterator_char *__thiscall num_get_char_do_get_bool(const num_get *thi
pfalse
=
basic_string_char_c_str
(
&
false_bstr
);
ptrue
=
basic_string_char_c_str
(
&
true_bstr
);
for
(
istreambuf_iterator_char_val
(
&
first
);
first
.
strbuf
;
istreambuf_iterator_char_inc
(
&
first
))
{
for
(
istreambuf_iterator_char_val
(
&
first
);
first
.
strbuf
;)
{
if
(
pfalse
&&
*
pfalse
&&
first
.
val
!=*
pfalse
)
pfalse
=
NULL
;
if
(
ptrue
&&
*
ptrue
&&
first
.
val
!=*
ptrue
)
...
...
@@ -5625,6 +5626,9 @@ istreambuf_iterator_char *__thiscall num_get_char_do_get_bool(const num_get *thi
if
(
ptrue
)
ptrue
++
;
if
(
pfalse
||
ptrue
)
istreambuf_iterator_char_inc
(
&
first
);
if
((
!
pfalse
||
!*
pfalse
)
&&
(
!
ptrue
||
!*
ptrue
))
break
;
}
...
...
dlls/msvcp90/locale.c
View file @
12cfebb6
...
...
@@ -5850,8 +5850,7 @@ static istreambuf_iterator_wchar* num_get_do_get_bool(const num_get *this,
pfalse
=
MSVCP_basic_string_wchar_c_str
(
&
false_bstr
);
ptrue
=
MSVCP_basic_string_wchar_c_str
(
&
true_bstr
);
for
(
istreambuf_iterator_wchar_val
(
&
first
);
first
.
strbuf
;
istreambuf_iterator_wchar_inc
(
&
first
))
{
for
(
istreambuf_iterator_wchar_val
(
&
first
);
first
.
strbuf
;)
{
if
(
pfalse
&&
*
pfalse
&&
first
.
val
!=*
pfalse
)
pfalse
=
NULL
;
if
(
ptrue
&&
*
ptrue
&&
first
.
val
!=*
ptrue
)
...
...
@@ -5867,6 +5866,9 @@ static istreambuf_iterator_wchar* num_get_do_get_bool(const num_get *this,
if
(
ptrue
)
ptrue
++
;
if
(
pfalse
||
ptrue
)
istreambuf_iterator_wchar_inc
(
&
first
);
if
((
!
pfalse
||
!*
pfalse
)
&&
(
!
ptrue
||
!*
ptrue
))
break
;
}
...
...
@@ -6823,8 +6825,7 @@ istreambuf_iterator_char *__thiscall num_get_char_do_get_bool(const num_get *thi
pfalse
=
MSVCP_basic_string_char_c_str
(
&
false_bstr
);
ptrue
=
MSVCP_basic_string_char_c_str
(
&
true_bstr
);
for
(
istreambuf_iterator_char_val
(
&
first
);
first
.
strbuf
;
istreambuf_iterator_char_inc
(
&
first
))
{
for
(
istreambuf_iterator_char_val
(
&
first
);
first
.
strbuf
;)
{
if
(
pfalse
&&
*
pfalse
&&
first
.
val
!=*
pfalse
)
pfalse
=
NULL
;
if
(
ptrue
&&
*
ptrue
&&
first
.
val
!=*
ptrue
)
...
...
@@ -6840,6 +6841,9 @@ istreambuf_iterator_char *__thiscall num_get_char_do_get_bool(const num_get *thi
if
(
ptrue
)
ptrue
++
;
if
(
pfalse
||
ptrue
)
istreambuf_iterator_char_inc
(
&
first
);
if
((
!
pfalse
||
!*
pfalse
)
&&
(
!
ptrue
||
!*
ptrue
))
break
;
}
...
...
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