From: Carsten Niehaus Date: Thu, 31 Jul 2008 11:26:45 +0000 (+0000) Subject: Uus had the wrong date and the default value for "ancient" elements is X-Git-Tag: v4.1.80~31 X-Git-Url: https://git.rmz.fi/?a=commitdiff_plain;h=689a8db83210fce30357852ab89dd7a7c29259ff;p=libqmvoc.git Uus had the wrong date and the default value for "ancient" elements is 0, not -1. svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=840104 --- diff --git a/libscience/data/elements.xml b/libscience/data/elements.xml index eb509a4..8d1b6fc 100644 --- a/libscience/data/elements.xml +++ b/libscience/data/elements.xml @@ -2619,7 +2619,7 @@ Temporary symbol and name. Can also be referred to as eka-astatine. 0.99 0.00 0.07 p - 0 + -1 7 Halogene diff --git a/libscience/elementparser.cpp b/libscience/elementparser.cpp index c6f2e2a..d10abd2 100644 --- a/libscience/elementparser.cpp +++ b/libscience/elementparser.cpp @@ -347,7 +347,7 @@ bool ElementSaxParser::characters(const QString &ch) } else if (d->inCountry){ if ( ch == "ancient" ) { - value = -1; + value = 0; type = ChemicalDataObject::date; } else { value = ch;