TraceFlags: Fix off-by-one error with number of traceflags.
--HG-- extra : convert_revision : 668299fc0a9083be858fe2f6e8fde512ddac9e32
This commit is contained in:
parent
c8123cef1b
commit
d1fb5ad91e
1 changed files with 1 additions and 1 deletions
|
@ -418,7 +418,7 @@ const char *Trace::flagStrings[] =
|
||||||
|
|
||||||
print >>f, '};'
|
print >>f, '};'
|
||||||
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
|
print >>f
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue