summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-11-17 16:00:12 +0000
committerDana Jansens <danakj@orodu.net>2002-11-17 16:00:12 +0000
commit6f0b72e8e59ac30f30d23f782f61caf76971cc86 (patch)
treed44a46f1457091149664bf2b85d96bd34392042e
parent1d897f432e54400cb2a0e1499712782b336fd728 (diff)
big nono
-rw-r--r--otk/point.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/otk/point.hh b/otk/point.hh
index edccbe1a..66c3b14d 100644
--- a/otk/point.hh
+++ b/otk/point.hh
@@ -28,9 +28,9 @@ public:
int x() const { return _x; }
//! Changes the y value to the new value specified
- void setY(int x) { _x = x; }
+ void setY(int y) { _y = y; }
//! Returns the y value
- int y() const { return _x; }
+ int y() const { return _y; }
//! Changes the x and y values
void setPoint(int x, int y) { _x = x; _y = y; }