Bug 518281: DPI on n810 is incorrect (part 2), r=stuart

This commit is contained in:
Mark Finkle 2009-09-23 02:31:38 -04:00
Родитель d27a6b6b96
Коммит 192e0a3b83
1 изменённых файлов: 4 добавлений и 2 удалений

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

@ -549,8 +549,10 @@ gfxPlatformGtk::InitDisplayCaps()
if (StringEndsWith(buffer, NS_LITERAL_CSTRING("RX-51"))) { if (StringEndsWith(buffer, NS_LITERAL_CSTRING("RX-51"))) {
gfxPlatform::sDPI = 265; // It's an N900 gfxPlatform::sDPI = 265; // It's an N900
} }
else if (StringEndsWith(buffer, NS_LITERAL_CSTRING("RX-48"))) { else if (StringEndsWith(buffer, NS_LITERAL_CSTRING("RX-44")) ||
gfxPlatform::sDPI = 225; // It's an N810 StringEndsWith(buffer, NS_LITERAL_CSTRING("RX-48")) ||
StringEndsWith(buffer, NS_LITERAL_CSTRING("RX-34"))) {
gfxPlatform::sDPI = 225; // It's an N810/N800
} }
} }
} }