From c0f72898d347ec58fdad3ce6ef5df39e2ab450de Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Wed, 18 Jul 2007 21:49:56 +0200 Subject: fix typo --- src/PSEditWidget.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.2.3