diff options
Diffstat (limited to 'src/lib/netlist/prg/nltool.cpp')
| -rw-r--r-- | src/lib/netlist/prg/nltool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/netlist/prg/nltool.cpp b/src/lib/netlist/prg/nltool.cpp index e797399b9a1..ba0526b5408 100644 --- a/src/lib/netlist/prg/nltool.cpp +++ b/src/lib/netlist/prg/nltool.cpp @@ -421,7 +421,7 @@ void tool_app_t::mac_out(const pstring &s, const bool cont) if (cont) { unsigned adj = 0; - for (auto x : s) + for (auto &x : s) adj += (x == '\t' ? 3 : 0); pout("{1}\\\n", s.rpad(" ", RIGHT-1-adj)); } |
