summaryrefslogtreecommitdiffstats
path: root/liboverlay
diff options
context:
space:
mode:
authorhoony.yu <hoony.yu@samsung.com>2010-11-02 12:46:28 -0700
committerSimon Wilson <simonwilson@google.com>2010-11-02 13:43:03 -0700
commitd828c5495cbbb53558dadf529474a8879c7ea161 (patch)
tree665f20fb974c531f72893aa84bd3faf608b1dc78 /liboverlay
parent6304cd08a756f085f6f4a0f521e585489a782392 (diff)
downloaddevice_samsung_crespo-d828c5495cbbb53558dadf529474a8879c7ea161.zip
device_samsung_crespo-d828c5495cbbb53558dadf529474a8879c7ea161.tar.gz
device_samsung_crespo-d828c5495cbbb53558dadf529474a8879c7ea161.tar.bz2
S5PC11X: OVERLAY: fix a bug of overlay_setPosition()
- fix typo err Change-Id: Iff7179e9f1d456965b666ac9d23d60f3ed6837e3 Signed-off-by: hoony.yu <hoony.yu@samsung.com>
Diffstat (limited to 'liboverlay')
-rw-r--r--liboverlay/overlay.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/liboverlay/overlay.cpp b/liboverlay/overlay.cpp
index 9964271..7e6025c 100644
--- a/liboverlay/overlay.cpp
+++ b/liboverlay/overlay.cpp
@@ -717,10 +717,10 @@ static int overlay_setPosition(struct overlay_control_device_t *dev,
*/
/* Require a minimum size */
- if (temp_x < 8)
- temp_x = 8;
- if (temp_y < 8)
- temp_y = 8;
+ if (temp_w < 8)
+ temp_w = 8;
+ if (temp_h < 8)
+ temp_h = 8;
if (!shared->controlReady) {
if ( temp_x < 0 ) temp_x = 0;