diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-01 16:38:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-01 17:27:14 +0300 |
commit | 40efe9ac2ad7b080f3b817b7fc909fcc2b333093 (patch) | |
tree | c44f00520ec27561517bd7259c3c6d04ed4945ef /src | |
parent | 9ed4da85e64cb78b4eb55f12cac11e2dca9610a7 (diff) | |
download | manaplus-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.cpp | 3 |
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 |