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:
twanvl
2007-08-07 14:19:38 +00:00
parent 65d92667fc
commit 565ddc1e12
7 changed files with 14 additions and 11 deletions
+1 -1
View File
@@ -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');