Author: hbelusca
Date: Sun Feb 1 22:37:06 2015
New Revision: 66147
URL:
http://svn.reactos.org/svn/reactos?rev=66147&view=rev
Log:
[STLPORT]
Fix assignment. Patch by Victor Martinez.
CORE-8117 #resolve #comment Fixed in r66147, thanks!
Modified:
trunk/reactos/include/c++/stlport/stl/_fstream.c
Modified: trunk/reactos/include/c++/stlport/stl/_fstream.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/c%2B%2B/stlport/st…
==============================================================================
--- trunk/reactos/include/c++/stlport/stl/_fstream.c [iso-8859-1] (original)
+++ trunk/reactos/include/c++/stlport/stl/_fstream.c [iso-8859-1] Sun Feb 1 22:37:06
2015
@@ -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();