diff options
author | Mathias Agopian <mathias@google.com> | 2009-07-09 22:11:57 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2009-07-09 22:11:57 -0700 |
commit | cafec0325010926130b03ce7ba50b2b180905e37 (patch) | |
tree | a0b400d443c679296076a85e11a8972450bc8b8f /libs/surfaceflinger | |
parent | e7622f3901234f238677c696a31c37838d315e6d (diff) | |
download | frameworks_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')
-rw-r--r-- | libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp | 2 |
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]; |