change to callnumberlen>=10 to avoid memory overflow and fix TZIVI-78 build/2012-07-16.054944
authorHao Li <hao.h.li@intel.com>
Fri, 13 Jul 2012 07:14:03 +0000 (15:14 +0800)
committerHao Li <hao.h.li@intel.com>
Fri, 13 Jul 2012 07:14:03 +0000 (15:14 +0800)
qml/CallItemViewLarge.qml

index c7edaea..7c90bad 100644 (file)
@@ -30,7 +30,7 @@ Item
 
             if (call.msisdn !== undefined && call.msisdn[0]!== undefined)
             {
-                if (call.msisdn.trim().length <= 10)
+                if (call.msisdn.trim().length >= 10)
                 {
                     root.callerLabelText = call.msisdn[0] + call.msisdn[1] + call.msisdn[2] + '-' +
                             call.msisdn[3] + call.msisdn[4] + call.msisdn[5] + '-' +