зеркало из https://github.com/mozilla/pjs.git
Bug 518281: DPI on n810 is incorrect (part 2), r=stuart
This commit is contained in:
Родитель
c8017bdb98
Коммит
4ca6e6f759
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче