зеркало из https://github.com/mozilla/gecko-dev.git
Bug 518281: DPI on n810 is incorrect (part 2), r=stuart
This commit is contained in:
Родитель
d27a6b6b96
Коммит
192e0a3b83
|
@ -549,8 +549,10 @@ gfxPlatformGtk::InitDisplayCaps()
|
|||
if (StringEndsWith(buffer, NS_LITERAL_CSTRING("RX-51"))) {
|
||||
gfxPlatform::sDPI = 265; // It's an N900
|
||||
}
|
||||
else if (StringEndsWith(buffer, NS_LITERAL_CSTRING("RX-48"))) {
|
||||
gfxPlatform::sDPI = 225; // It's an N810
|
||||
else if (StringEndsWith(buffer, NS_LITERAL_CSTRING("RX-44")) ||
|
||||
StringEndsWith(buffer, NS_LITERAL_CSTRING("RX-48")) ||
|
||||
StringEndsWith(buffer, NS_LITERAL_CSTRING("RX-34"))) {
|
||||
gfxPlatform::sDPI = 225; // It's an N810/N800
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче