Module: wine Branch: master Commit: a7d22c2ec50971f94505abdde3f215caa5501407 URL: http://source.winehq.org/git/wine.git/?a=commit;h=a7d22c2ec50971f94505abdde3...
Author: Iván Matellanes matellanesivan@gmail.com Date: Fri Jul 15 10:26:54 2016 +0100
msvcirt: Implement istream::gcount.
Signed-off-by: Iván Matellanes matellanes.ivan@gmail.com Signed-off-by: Piotr Caban piotr@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/msvcirt/msvcirt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msvcirt/msvcirt.c b/dlls/msvcirt/msvcirt.c index cffd0da..f7fcedb 100644 --- a/dlls/msvcirt/msvcirt.c +++ b/dlls/msvcirt/msvcirt.c @@ -3057,8 +3057,8 @@ void __thiscall istream_eatwhite(istream *this) DEFINE_THISCALL_WRAPPER(istream_gcount, 4) int __thiscall istream_gcount(const istream *this) { - FIXME("(%p) stub\n", this); - return 0; + TRACE("(%p)\n", this); + return this->count; }
/* ?ipfx@istream@@QAEHH@Z */