EDA/Id: Tweak to report invalid Id rather than producing an empty string
authorJerome St-Louis <jerome@ecere.com>
Thu, 2 Aug 2012 17:21:13 +0000 (13:21 -0400)
committerJerome St-Louis <jerome@ecere.com>
Thu, 2 Aug 2012 17:21:13 +0000 (13:21 -0400)
eda/libeda/src/idList.ec

index 53c4fd9..92ce1c8 100644 (file)
@@ -222,7 +222,7 @@ public class Id : uint
                }
             }
             else
-               tempString[0] = 0;
+               sprintf(tempString, "(Invalid %s entry: %d)", tbl.name, this);
          }
          else
          {