Fix naming for Blackberry.

This commit is contained in:
Sacha committed 2013-10-15 15:27:40 +10:00
1 parent e72a6d4058
commit 5e1a52a841
1 file changed
+4 -2
+4 -2
View File
@@ -15,8 +15,10 @@
std::string System_GetProperty(SystemProperty prop) {
switch (prop) {
case SYSPROP_NAME:
return "Blackberry10:" + (pixel_xres != pixel_yres) ? "Touch" : "QWERTY";
case SYSPROP_NAME: {
std::string name = "Blackberry10:";
return name + ((pixel_xres != pixel_yres) ? "Touch" : "QWERTY");
}
case SYSPROP_LANGREGION:
return "en_US";
default: