AFFICH_m block was not working anymore after uid modification 46/12646/1
Alexandre HERISSE [Tue, 24 Sep 2013 13:12:09 +0000 (15:12 +0200)]
Change-Id: I813e5872c7de0a52497d4a7308278e6b40332a3f

scilab/modules/scicos_blocks/src/cpp/affich2.cpp

index ec3c5b4..e370e61 100644 (file)
@@ -82,7 +82,7 @@ SCICOS_BLOCKS_IMPEXP void affich2(scicos_block * block, int flag)
                 }
             }
 
-            AfficheBlock_setValue(block->label, pstValue, iRowsIn, iColsIn);
+            AfficheBlock_setValue(block->uid, pstValue, iRowsIn, iColsIn);
 
             break;
 
@@ -104,7 +104,7 @@ SCICOS_BLOCKS_IMPEXP void affich2(scicos_block * block, int flag)
                 }
             }
 
-            if (AfficheBlock_setValue(block->label, pstValue, iRowsIn, iColsIn) == 0)
+            if (AfficheBlock_setValue(block->uid, pstValue, iRowsIn, iColsIn) == 0)
             {
                 // storing the allocated area on the block work field.
                 block->work[0] = pstValue;