summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-01-15 13:36:57 +0100
committerClifford Wolf <clifford@clifford.at>2015-01-15 13:36:57 +0100
commit9065fb25cc3fd21cf77b041cbec1d8a12b33728d (patch)
treef57fdf5b9f23c7adefc63e7336c0aeadb6293e15
parentdf9d096a7d88955dcf44d9e30a9ba49238b478db (diff)
Fixed handling of foo.__TECHMAP_...
-rw-r--r--passes/techmap/techmap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/techmap/techmap.cc b/passes/techmap/techmap.cc
index 94dd4d42..b1a40b25 100644
--- a/passes/techmap/techmap.cc
+++ b/passes/techmap/techmap.cc
@@ -129,7 +129,7 @@ struct TechmapWorker
continue;
const char *q = strrchr(p+1, '.');
- p = q ? q : p+1;
+ p = q ? q+1 : p+1;
if (!strncmp(p, "_TECHMAP_", 9)) {
TechmapWireData record;