summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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; }