[BeOS]Bug 335076. Fixing rendering of point-sized test. p=sergei_d, r=thesuckiestemail@yahoo.se. BeOS-only

git-svn-id: svn://10.0.0.236/trunk@195712 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sergei_d%fi.tartu.ee
2006-04-29 12:11:25 +00:00
parent 4f24d5fe73
commit 7ac01e2e4d

View File

@@ -21,6 +21,7 @@
*
* Contributor(s):
* Pierre Phaneuf <pp@ludusdesign.com>
* Sergei Dolgov <sergei_d@fi.tartu.ee>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
@@ -132,8 +133,8 @@ NS_IMETHODIMP nsDeviceContextBeOS::Init(nsNativeWidget aNativeWidget)
}
// Set OSVal to what the operating system thinks the logical resolution is.
// BeOS lacks monitor info, so we use estimation
PRInt32 OSVal = int(mWidthFloat*72./800.);
// BeOS lacks monitor info, so we use fixed value for now
PRInt32 OSVal = 85;
if (prefVal > 0)
{
// If there's a valid pref value for the logical resolution,