X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=libctgraphics%2Fsgp.cpp;h=1bd9a1cdfeef534459f878e7b3ed09e76ec88647;hp=ec6b89d4a936dcff1fe103a2a362232525bb4b15;hb=4a5567b8df652cc3168bb9d439bc23f973a2b5ea;hpb=ed576a069b0ba9de2e9153707012eba620ac606e diff --git a/libctgraphics/sgp.cpp b/libctgraphics/sgp.cpp index ec6b89d..1bd9a1c 100644 --- a/libctgraphics/sgp.cpp +++ b/libctgraphics/sgp.cpp @@ -5,9 +5,9 @@ ** Programmer: Kevin Rosenberg ** ** This is part of the CTSim program -** Copyright (C) 1983-2000 Kevin Rosenberg +** Copyright (C) 1983-2001 Kevin Rosenberg ** -** $Id: sgp.cpp,v 1.27 2001/01/12 21:53:27 kevin Exp $ +** $Id: sgp.cpp,v 1.28 2001/01/27 21:02:20 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -564,7 +564,7 @@ SGP::getCharHeight () if (m_driver.isWX()) { dHeight = m_driver.idWX()->GetCharHeight(); dHeight /= static_cast(m_iPhysicalYSize); - dHeight /= (yv_max - yv_min); // scale to viewport; + dHeight /= (yv_max - yv_min); // scale to viewport; } #endif dHeight *= (yw_max - yw_min); // scale to world coordinates @@ -580,7 +580,7 @@ SGP::getCharWidth () if (m_driver.isWX()) { dWidth = m_driver.idWX()->GetCharWidth(); dWidth /= static_cast(m_iPhysicalXSize); - dWidth /= (xv_max - xv_min); // scale to viewport + dWidth /= (xv_max - xv_min); // scale to viewport } #endif dWidth *= (xw_max - xw_min); //scale to world coordinates