[03/13] msvcirt: Implement ios::width
Iván Matellanes
matellanesivan at gmail.com
Fri Jul 17 09:36:32 CDT 2015
---
dlls/msvcirt/msvcirt.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/dlls/msvcirt/msvcirt.c b/dlls/msvcirt/msvcirt.c
index 275a849..4e4315e 100644
--- a/dlls/msvcirt/msvcirt.c
+++ b/dlls/msvcirt/msvcirt.c
@@ -1199,8 +1199,12 @@ LONG __thiscall ios_unsetf(ios *this, LONG flags)
DEFINE_THISCALL_WRAPPER(ios_width_set, 8)
int __thiscall ios_width_set(ios *this, int width)
{
- FIXME("(%p %d) stub\n", this, width);
- return 0;
+ int prev = this->width;
+
+ TRACE("(%p %d)\n", this, width);
+
+ this->width = width;
+ return prev;
}
/* ?width at ios@@QBEHXZ */
@@ -1208,8 +1212,8 @@ int __thiscall ios_width_set(ios *this, int width)
DEFINE_THISCALL_WRAPPER(ios_width_get, 4)
int __thiscall ios_width_get(const ios *this)
{
- FIXME("(%p) stub\n", this);
- return 0;
+ TRACE("(%p)\n", this);
+ return this->width;
}
/* ?xalloc at ios@@SAHXZ */
--
2.1.4
More information about the wine-patches
mailing list