# HG changeset patch
# User lbessard
# Date 1212594474 -7200
# Node ID faad68924b53731948f2801e848f12b1d1915782
# Parent  4b63934885e1f1bbb53f2626fd47a7ff6211379a
Bug on output variable location generation fixed

diff -r 4b63934885e1 -r faad68924b53 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()))