summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/oxygen/psewidget.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/noncore/apps/oxygen/psewidget.cpp b/noncore/apps/oxygen/psewidget.cpp
index 4f990b0..be5185b 100644
--- a/noncore/apps/oxygen/psewidget.cpp
+++ b/noncore/apps/oxygen/psewidget.cpp
@@ -4,3 +4,3 @@
begin : September 2002
- copyright : ( C ) 2002 by Carsten Niehaus
+ copyright : ( C ) 2002, 2003 by Carsten Niehaus
email : cniehaus@handhelds.org
@@ -153,3 +153,3 @@ void PSEWidget::position(int n, int& h, int& v)
//Potassium --> Uuo without La and Ac
- if ((n >= 19 && n <= 56) || (n >= 72 && n <= 88) || n >= 104)
+ if ((n >= 19 && n <= 57) || (n >= 72 && n <= 89) || n >= 104)
for (int i = 1; i <= 18; i++)
@@ -183,3 +183,3 @@ void PSEWidget::position(int n, int& h, int& v)
//Lanthanum --> Lutetium and Actinum --> Lawrencium
- if ((n >= 57 && n <= 71) || (n >= 89 && n <= 103))
+ if ((n >= 58 && n <= 71) || (n >= 90 && n <= 103))
for (int i = 1; i <= 14; i++)
@@ -187,3 +187,3 @@ void PSEWidget::position(int n, int& h, int& v)
int f = n;
- if (n > 56)
+ if (n > 57)
f = n-55;
@@ -193,3 +193,3 @@ void PSEWidget::position(int n, int& h, int& v)
v = 290;
- if (n >= 89)
+ if (n >= 90)
v=330;