[06/13] msvcirt: Implement ios::delbuf

Iván Matellanes matellanesivan at gmail.com
Fri Jul 17 09:36:50 CDT 2015


---
 dlls/msvcirt/msvcirt.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/dlls/msvcirt/msvcirt.c b/dlls/msvcirt/msvcirt.c
index dbb2ea3..5bae2c8 100644
--- a/dlls/msvcirt/msvcirt.c
+++ b/dlls/msvcirt/msvcirt.c
@@ -878,7 +878,8 @@ void __cdecl ios_clrlock(ios *this)
 DEFINE_THISCALL_WRAPPER(ios_delbuf_set, 8)
 void __thiscall ios_delbuf_set(ios *this, int delete)
 {
-    FIXME("(%p %d) stub\n", this, delete);
+    TRACE("(%p %d)\n", this, delete);
+    this->delbuf = delete;
 }
 
 /* ?delbuf at ios@@QBEHXZ */
@@ -886,8 +887,8 @@ void __thiscall ios_delbuf_set(ios *this, int delete)
 DEFINE_THISCALL_WRAPPER(ios_delbuf_get, 4)
 int __thiscall ios_delbuf_get(const ios *this)
 {
-    FIXME("(%p) stub\n", this);
-    return 0;
+    TRACE("(%p)\n", this);
+    return this->delbuf;
 }
 
 /* ?dec@@YAAAVios@@AAV1@@Z */
-- 
2.1.4




More information about the wine-patches mailing list