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
e5d7d657
Commit
e5d7d657
authored
Aug 15, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
Aug 15, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp90: Reset width value in basic_istream class on error.
parent
76821340
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
10 deletions
+6
-10
ios.c
dlls/msvcp90/ios.c
+6
-10
No files found.
dlls/msvcp90/ios.c
View file @
e5d7d657
...
...
@@ -8123,11 +8123,10 @@ basic_istream_char* __cdecl basic_istream_char_read_bstr(
state
=
IOSTATE_goodbit
;
MSVCP_basic_string_char_append_ch
(
str
,
c
);
}
ios_base_width_set
(
&
base
->
base
,
0
);
}
basic_istream_char_sentry_destroy
(
istream
);
ios_base_width_set
(
&
base
->
base
,
0
);
basic_ios_char_setstate
(
base
,
state
|
(
c
==
EOF
?
IOSTATE_eofbit
:
IOSTATE_goodbit
));
return
istream
;
}
...
...
@@ -8156,12 +8155,11 @@ basic_istream_char* __cdecl basic_istream_char_read_str(basic_istream_char *istr
state
=
IOSTATE_goodbit
;
*
str
++
=
c
;
}
*
str
=
0
;
ios_base_width_set
(
&
base
->
base
,
0
);
}
basic_istream_char_sentry_destroy
(
istream
);
*
str
=
0
;
ios_base_width_set
(
&
base
->
base
,
0
);
basic_ios_char_setstate
(
base
,
state
|
(
c
==
EOF
?
IOSTATE_eofbit
:
IOSTATE_goodbit
));
return
istream
;
}
...
...
@@ -9550,11 +9548,10 @@ static basic_istream_wchar* basic_istream_read_bstr(basic_istream_wchar *istream
state
=
IOSTATE_goodbit
;
MSVCP_basic_string_wchar_append_ch
(
str
,
c
);
}
ios_base_width_set
(
&
base
->
base
,
0
);
}
basic_istream_wchar_sentry_destroy
(
istream
);
ios_base_width_set
(
&
base
->
base
,
0
);
basic_ios_wchar_setstate
(
base
,
state
|
(
c
==
WEOF
?
IOSTATE_eofbit
:
IOSTATE_goodbit
));
return
istream
;
}
...
...
@@ -9594,12 +9591,11 @@ basic_istream_wchar* basic_istream_read_str(basic_istream_wchar *istream, wchar_
state
=
IOSTATE_goodbit
;
*
str
++
=
c
;
}
*
str
=
0
;
ios_base_width_set
(
&
base
->
base
,
0
);
}
basic_istream_wchar_sentry_destroy
(
istream
);
*
str
=
0
;
ios_base_width_set
(
&
base
->
base
,
0
);
basic_ios_wchar_setstate
(
base
,
state
|
(
c
==
WEOF
?
IOSTATE_eofbit
:
IOSTATE_goodbit
));
return
istream
;
}
...
...
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