[4/6] msvcirt: Implement istream::gcount

Iván Matellanes matellanesivan at gmail.com
Fri Jul 15 04:26:54 CDT 2016


Signed-off-by: Iván Matellanes <matellanes.ivan at gmail.com>
---
 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 at istream@@QAEHH at Z */
-- 
2.7.4




More information about the wine-patches mailing list