summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/python/generate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/generate.py b/src/python/generate.py
index e52128de2..eead6ff5d 100644
--- a/src/python/generate.py
+++ b/src/python/generate.py
@@ -418,7 +418,7 @@ const char *Trace::flagStrings[] =
print >>f, '};'
print >>f
- print >>f, 'const int Trace::numFlagStrings = %d;' % len(allFlags)
+ print >>f, 'const int Trace::numFlagStrings = %d;' % (len(allFlags) + 1)
print >>f
#