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

This commit is contained in:
sergei_d%fi.tartu.ee 2006-04-29 12:11:25 +00:00
Родитель 558e3a4913
Коммит 7953ca5476
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -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,