fix bug about Resource Fallback for N_SE-37880 & N_SE-37914
authorwoo <s-w.woo@samsung.com>
Wed, 8 May 2013 09:51:23 +0000 (18:51 +0900)
committerwoo <s-w.woo@samsung.com>
Wed, 8 May 2013 09:51:34 +0000 (18:51 +0900)
Change-Id: I08c9d0a16d1d606df7d98aa7868ac2ed6f89f80e
Signed-off-by: woo <s-w.woo@samsung.com>
src/app/FApp_AppResourceBitmapUtil.cpp

index 4beea90..19646e3 100644 (file)
@@ -193,13 +193,12 @@ _AppResourceBitmapUtil::Construct(const String& resourceFolder)
 
        for (int currentDensity = DENSITY_XHIGH; currentDensity >= DENSITY_LOW; currentDensity--)
        {
-               SysAssert(densityIndex > 0 && densityIndex < DENSITY_MAX);
-
                if (static_cast<int>(__sortedDensity[0]) == currentDensity)
                {
                        continue;
                }
 
+               SysAssert(densityIndex > 0 && densityIndex < DENSITY_MAX);
                __sortedDensity[densityIndex] = static_cast<_Density>(currentDensity);
 
                if (GetDirectoryPath(resourceFolder, __sortedDensity[densityIndex], __sortedDensityDirectories[densityIndex]) == false)