OSDN Git Service

2003-05-07 Paolo Carlini <pcarlini@unitus.it>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / include / std / std_sstream.h
index e917079..ca7b1e5 100644 (file)
@@ -258,7 +258,7 @@ namespace std
          {
            this->setp(__base, __base + _M_string.capacity());
            // _M_out_lim points to the string end.
-           this->_M_out_lim = __base + __len;
+           this->_M_out_lim += __len;
            this->_M_out_cur += __o;
          }
       }