TraceFlags: Fix off-by-one error with number of traceflags.

--HG--
extra : convert_revision : 668299fc0a9083be858fe2f6e8fde512ddac9e32
This commit is contained in:
Ali Saidi 2007-11-04 19:06:45 -05:00
parent c8123cef1b
commit d1fb5ad91e

View file

@ -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
#