accessoryservices/pluggeddisplay/edidparser/src/cea861edidparser.cpp
changeset 50 48a00b70dc49
parent 29 e5a0aab53f3f
--- a/accessoryservices/pluggeddisplay/edidparser/src/cea861edidparser.cpp	Fri Jul 16 11:04:43 2010 +0300
+++ b/accessoryservices/pluggeddisplay/edidparser/src/cea861edidparser.cpp	Fri Jul 30 10:34:49 2010 +0300
@@ -600,7 +600,8 @@
         
     TCEA861TEdidDescriptorBlockList* lastnode = iParsedInfo->iDescriptorBlocks;
 
-    for( TInt index = aIndex; index < KEdidParserSizeOfEdidBlock; index++ )
+    TInt index = aIndex;
+    while( index < KEdidParserSizeOfEdidBlock )
         {
         // Offset. If this is a newer version of CEA-861,
         // then this is skipped (we are already past the offset)
@@ -635,6 +636,7 @@
         else
             {
             // this is only padding, no need to do anything
+            index++;
             }
 
         // after the descriptors there is padding to fill Extension block to 128 bytes.