summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2007-07-18 21:49:56 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2007-07-18 21:49:56 +0200
commitc0f72898d347ec58fdad3ce6ef5df39e2ab450de (patch)
treeb00970f164d3929dc4043e3e7b877378bf9894ff
parent3f0ff82397288f0216fdd367d778a7757cc9355c (diff)
fix typo
-rw-r--r--src/PSEditWidget.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PSEditWidget.cxx b/src/PSEditWidget.cxx
index 6b2a472..0a500c4 100644
--- a/src/PSEditWidget.cxx
+++ b/src/PSEditWidget.cxx
@@ -403,7 +403,7 @@ int PSEditWidget::ps_to_display_x(int x1) {
}
int PSEditWidget::ps_to_display_y(int y1) {
- return round_div((paper_y - y1) * xdpi, 72);
+ return round_div((paper_y - y1) * ydpi, 72);
}
int PSEditWidget::ps_x(int x1) {