Bug on output variable location generation fixed
authorlbessard
Wed, 04 Jun 2008 17:47:54 +0200
changeset 161 faad68924b53
parent 160 4b63934885e1
child 162 bf3eac08a96b
Bug on output variable location generation fixed
plugins/c_ext/CFileEditor.py
--- a/plugins/c_ext/CFileEditor.py	Thu May 29 17:44:11 2008 +0200
+++ b/plugins/c_ext/CFileEditor.py	Wed Jun 04 17:47:54 2008 +0200
@@ -803,7 +803,7 @@
             else:
                 dir = "%Q"
                 for i in xrange(row):
-                    if self.Table.GetValueByName(i, "Class") == "input":
+                    if self.Table.GetValueByName(i, "Class") == "output":
                         num += 1
             data_type = self.Table.GetValueByName(row, "Type")
             base_location = ".".join(map(lambda x:str(x), self.Controler.GetCurrentLocation()))