commit | a6734e0645fce81c9610de0488b729207bfa576e | [log] [tgz] |
---|---|---|
author | David Turner <digit@google.com> | Thu Sep 15 16:14:50 2011 -0700 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Sep 15 16:14:50 2011 -0700 |
tree | 2d100739ba0bbea384f66a689881c7fca32679a8 | |
parent | a6290228d32fe17ff00412e56780a8b0e407e579 [diff] | |
parent | 4fdc136b5fc12da237caad05c8ccb05e8bb1cd6d [diff] |
Merge "Bugfix: == vs = mixup."
diff --git a/stlport/stl/_fstream.c b/stlport/stl/_fstream.c index f1548ae..7306f9e 100644 --- a/stlport/stl/_fstream.c +++ b/stlport/stl/_fstream.c
@@ -84,7 +84,7 @@ if (_M_in_output_mode) { __ok = __ok && !_Traits::eq_int_type(this->overflow(traits_type::eof()), traits_type::eof()); - __ok == __ok && this->_M_unshift(); + __ok = __ok && this->_M_unshift(); } else if (_M_in_input_mode) this->_M_exit_input_mode();