mirror of
https://github.com/reactos/wine.git
synced 2025-02-12 07:32:23 +00:00
msvcp60: Fix basic_filebuf::_Init implementation.
This commit is contained in:
parent
52aeccf960
commit
b0cf321477
@ -2310,6 +2310,7 @@ void __thiscall basic_filebuf_char__Init(basic_filebuf_char *this, FILE *file, b
|
|||||||
this->cvt = NULL;
|
this->cvt = NULL;
|
||||||
this->state0 = basic_filebuf_char__Init__Stinit;
|
this->state0 = basic_filebuf_char__Init__Stinit;
|
||||||
this->state = basic_filebuf_char__Init__Stinit;
|
this->state = basic_filebuf_char__Init__Stinit;
|
||||||
|
if(which == INITFL_new)
|
||||||
this->str = NULL;
|
this->str = NULL;
|
||||||
this->close = (which == INITFL_open);
|
this->close = (which == INITFL_open);
|
||||||
this->file = file;
|
this->file = file;
|
||||||
@ -2802,6 +2803,7 @@ static void basic_filebuf_wchar__Init(basic_filebuf_wchar *this, FILE *file, bas
|
|||||||
this->cvt = NULL;
|
this->cvt = NULL;
|
||||||
this->state0 = basic_filebuf_short__Init__Stinit;
|
this->state0 = basic_filebuf_short__Init__Stinit;
|
||||||
this->state = basic_filebuf_short__Init__Stinit;
|
this->state = basic_filebuf_short__Init__Stinit;
|
||||||
|
if(which == INITFL_new)
|
||||||
this->str = NULL;
|
this->str = NULL;
|
||||||
this->close = (which == INITFL_open);
|
this->close = (which == INITFL_open);
|
||||||
this->file = file;
|
this->file = file;
|
||||||
@ -2819,6 +2821,7 @@ void __thiscall basic_filebuf_short__Init(basic_filebuf_wchar *this, FILE *file,
|
|||||||
this->cvt = NULL;
|
this->cvt = NULL;
|
||||||
this->state0 = basic_filebuf_short__Init__Stinit;
|
this->state0 = basic_filebuf_short__Init__Stinit;
|
||||||
this->state = basic_filebuf_short__Init__Stinit;
|
this->state = basic_filebuf_short__Init__Stinit;
|
||||||
|
if(which == INITFL_new)
|
||||||
this->str = NULL;
|
this->str = NULL;
|
||||||
this->close = (which == INITFL_open);
|
this->close = (which == INITFL_open);
|
||||||
this->file = file;
|
this->file = file;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user