From 32af7f65d7d3e0aa5a2becefdfdcd3c11a04e6f9 Mon Sep 17 00:00:00 2001 From: Stefan Kebekus Date: Tue, 28 Aug 2001 13:01:30 +0000 Subject: [PATCH] fixes bug #30566 svn path=/trunk/kdegraphics/kdvi/; revision=112244 --- special.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/special.cpp b/special.cpp index 9d8ea7ed9..67c13ec43 100644 --- a/special.cpp +++ b/special.cpp @@ -126,7 +126,7 @@ static void parse_special_argument(QString strg, const char *argument_name, int if (index >= 0) { QString tmp = strg.mid(index + strlen(argument_name)); tmp.truncate(tmp.find(' ')); - int tmp_int = tmp.toUInt(&OK); + int tmp_int = tmp.toInt(&OK); if (OK) *variable = tmp_int; else @@ -235,7 +235,7 @@ void dviWindow::epsf_special(QString cp) double bbox_height = ury - lly; if ((rwi != 0)&&(bbox_width != 0)) { - bbox_height *= rwi/bbox_width; + bbox_height *= rwi/bbox_width; bbox_width = rwi; } if ((rhi != 0)&&(bbox_height != 0)) {