Browse Source

Fix typography

Neal Wilson 11 years ago
parent
commit
1b8805b6f1
1 changed files with 1 additions and 5 deletions
  1. 1
    5
      src/typica.w

+ 1
- 5
src/typica.w View File

@@ -11347,11 +11347,7 @@ else if(xmlin.name() == "temperature")
11347 11347
 	column = xmlin.attributes().value("series").toString().isEmpty() ?
11348 11348
 	         firstc : temperatureColumns.value(xmlin.attributes().
11349 11349
 			                                   value("series").toString());
11350
-	bool relative = false;
11351
-	if(xmlin.attributes().value("relative") == "true")
11352
-	{
11353
-		relative = true;
11354
-	}
11350
+	bool relative = (xmlin.attributes().value("relative") == "true");
11355 11351
 	tempval = xmlin.readElementText().toDouble();
11356 11352
 	Measurement measurement(tempval, timeval);
11357 11353
 	if(relative)

Loading…
Cancel
Save