mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Fixed: keys without save_value caused reader to loop
Fixed: first line of multi line text value could cause warnings about whitespace Fixed some copy/paste errors in choice style reading; Text viewer correctly uses mask for first line git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@604 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -241,7 +241,7 @@ const String& Reader::getValue() {
|
||||
previous_value.clear();
|
||||
bool first = true;
|
||||
// read all lines that are indented enough
|
||||
readLine();
|
||||
readLine(true);
|
||||
previous_line_number = line_number;
|
||||
while (indent >= expected_indent && !input->Eof()) {
|
||||
if (!first) previous_value += _('\n');
|
||||
|
||||
Reference in New Issue
Block a user