=?UTF-8?Q?Iv=C3=A1n=20Matellanes=20?=: msvcp90: Set the correct vtable for basic_iostream_char.

Alexandre Julliard julliard at winehq.org
Mon Aug 8 11:09:28 CDT 2016


Module: wine
Branch: master
Commit: 9bc7aea4f8a783a6b57d85b12c5227285194caf3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9bc7aea4f8a783a6b57d85b12c5227285194caf3

Author: Iván Matellanes <matellanesivan at gmail.com>
Date:   Sat Aug  6 14:46:58 2016 +0100

msvcp90: Set the correct vtable for basic_iostream_char.

Signed-off-by: Iván Matellanes <matellanesivan at gmail.com>
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/msvcp90/ios.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dlls/msvcp90/ios.c b/dlls/msvcp90/ios.c
index 482729c..fbbb320 100644
--- a/dlls/msvcp90/ios.c
+++ b/dlls/msvcp90/ios.c
@@ -11106,10 +11106,9 @@ basic_iostream_char* __thiscall basic_iostream_char_ctor(basic_iostream_char *th
         basic_ios = basic_istream_char_get_basic_ios(&this->base1);
     }
 
-    basic_ios->base.vtable = &MSVCP_basic_iostream_char_vtable;
-
     basic_istream_char_ctor(&this->base1, strbuf, FALSE, FALSE);
     basic_ostream_char_ctor_uninitialized(&this->base2, 0, FALSE, FALSE);
+    basic_ios->base.vtable = &MSVCP_basic_iostream_char_vtable;
     return this;
 }
 




More information about the wine-cvs mailing list