summaryrefslogtreecommitdiffstats
path: root/libs/surfaceflinger/DisplayHardware
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-07-09 22:11:57 -0700
committerMathias Agopian <mathias@google.com>2009-07-09 22:11:57 -0700
commitcafec0325010926130b03ce7ba50b2b180905e37 (patch)
treea0b400d443c679296076a85e11a8972450bc8b8f /libs/surfaceflinger/DisplayHardware
parente7622f3901234f238677c696a31c37838d315e6d (diff)
downloadframeworks_base-cafec0325010926130b03ce7ba50b2b180905e37.zip
frameworks_base-cafec0325010926130b03ce7ba50b2b180905e37.tar.gz
frameworks_base-cafec0325010926130b03ce7ba50b2b180905e37.tar.bz2
fix [1969200] Uninitialized double passed to Math.sqrt()
Diffstat (limited to 'libs/surfaceflinger/DisplayHardware')
-rw-r--r--libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp b/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp
index 5c522c5..21f87e37 100644
--- a/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp
+++ b/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp
@@ -219,7 +219,7 @@ void DisplayHardware::init(uint32_t dpy)
mDpiX = mNativeWindow->xdpi;
- mDpiX = mNativeWindow->ydpi;
+ mDpiY = mNativeWindow->ydpi;
mRefreshRate = fbDev->fps;
char property[PROPERTY_VALUE_MAX];