Daniel Lehman : msvcp90: Update fpos<>::off instead of pos in stringbuf<>:: seekoff.
Alexandre Julliard
julliard at winehq.org
Wed Oct 31 17:17:21 CDT 2012
Module: wine
Branch: master
Commit: 64527285cf7fab1de5dbd2952df4eee5ecd3b02b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=64527285cf7fab1de5dbd2952df4eee5ecd3b02b
Author: Daniel Lehman <dlehman at esri.com>
Date: Fri Sep 28 15:16:17 2012 -0700
msvcp90: Update fpos<>::off instead of pos in stringbuf<>::seekoff.
---
dlls/msvcp90/ios.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/msvcp90/ios.c b/dlls/msvcp90/ios.c
index a11f90c..9435cb2 100644
--- a/dlls/msvcp90/ios.c
+++ b/dlls/msvcp90/ios.c
@@ -3803,6 +3803,7 @@ fpos_int* __thiscall basic_stringbuf_char_seekoff(basic_stringbuf_char *this,
this->seekhigh = cur_w;
ret->off = 0;
+ ret->pos = 0;
ret->state = 0;
beg = basic_streambuf_char_eback(&this->base);
@@ -3841,7 +3842,7 @@ fpos_int* __thiscall basic_stringbuf_char_seekoff(basic_stringbuf_char *this,
off = -1;
}
- ret->pos = off;
+ ret->off = off;
return ret;
}
@@ -4213,6 +4214,7 @@ fpos_int* __thiscall basic_stringbuf_wchar_seekoff(basic_stringbuf_wchar *this,
this->seekhigh = cur_w;
ret->off = 0;
+ ret->pos = 0;
ret->state = 0;
beg = basic_streambuf_wchar_eback(&this->base);
@@ -4251,7 +4253,7 @@ fpos_int* __thiscall basic_stringbuf_wchar_seekoff(basic_stringbuf_wchar *this,
off = -1;
}
- ret->pos = off;
+ ret->off = off;
return ret;
}
More information about the wine-cvs
mailing list