Use the same scale factor for width & height.
Change-Id: Idb6e1fa9ac6262f74b9d0067a3f69ffaec513114
Name: liblivebox-service
Summary: Service API for gathering installed livebox information.
-Version: 0.3.3
+Version: 0.3.5
Release: 1
Group: framework/livebox
License: Flora License
DbgPrint("Screen resolution: %dx%d\n", width, height);
for (i = 0; i < NR_OF_SIZE_LIST; i++) {
SIZE_LIST[i].w = (unsigned int)((double)SIZE_LIST[i].w * (double)width / 720.0f);
- SIZE_LIST[i].h = (unsigned int)((double)SIZE_LIST[i].h * (double)height / 1280.0f);
+ SIZE_LIST[i].h = (unsigned int)((double)SIZE_LIST[i].h * (double)width / 720.0f);
DbgPrint("(Ratio)Size is updated [%d] %dx%d\n", i, SIZE_LIST[i].w, SIZE_LIST[i].h);
}