Author: ilor
Date: Fri Feb 12 15:46:28 2010
New Revision: 41171
URL: http://svn.gna.org/viewcvs/wesnoth?rev=41171&view=rev
Log:
Fix multiplayer games not working after r41154 ("Invalid WML received: did not
find quotes around attribute" error)
Write the empty attributes as a pair of quotes that doesn't confuse other parts
of the code.
Modified:
trunk/src/serialization/parser.cpp
Modified: trunk/src/serialization/parser.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/serialization/parser.cpp?rev=41171&r1=41170&r2=41171&view=diff
==============================================================================
--- trunk/src/serialization/parser.cpp (original)
+++ trunk/src/serialization/parser.cpp Fri Feb 12 15:46:28 2010
@@ -412,6 +412,7 @@
bool first = true;
if (value.empty()) {
out << std::string(level, '\t') << key << AttributeEquals
+ << AttributePrefix << AttributePostfix
<< AttributeEndPostfix;;
return;
}
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits