summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-01 16:38:56 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-01 17:27:14 +0300
commit40efe9ac2ad7b080f3b817b7fc909fcc2b333093 (patch)
treec44f00520ec27561517bd7259c3c6d04ed4945ef /src
parent9ed4da85e64cb78b4eb55f12cac11e2dca9610a7 (diff)
downloadmanaplus-40efe9ac2ad7b080f3b817b7fc909fcc2b333093.tar.gz
manaplus-40efe9ac2ad7b080f3b817b7fc909fcc2b333093.tar.bz2
manaplus-40efe9ac2ad7b080f3b817b7fc909fcc2b333093.tar.xz
manaplus-40efe9ac2ad7b080f3b817b7fc909fcc2b333093.zip
improve screen density logging.
Diffstat (limited to 'src')
-rw-r--r--src/graphicsmanager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp
index 52006ad6c..8c2c9f9b2 100644
--- a/src/graphicsmanager.cpp
+++ b/src/graphicsmanager.cpp
@@ -1030,7 +1030,8 @@ void GraphicsManager::detectPixelSize()
#endif
logger->log("screen size in pixels: %dx%d", mMaxWidth, mMaxHeight);
logger->log("screen size in millimeters: %dx%d", mWidthMM, mHeightMM);
- logger->log("screen density: %d", mDensity);
+ logger->log("screen density: \"%s\" = %d",
+ getDensityString().c_str(), mDensity);
}
std::string GraphicsManager::getDensityString() const