diff --git a/ppremake/configure.in b/ppremake/configure.in index f578f0ad69..a71e199bc4 100644 --- a/ppremake/configure.in +++ b/ppremake/configure.in @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(ppremake.cxx) -AM_INIT_AUTOMAKE(ppremake, 0.60) +AM_INIT_AUTOMAKE(ppremake, 0.61) AM_CONFIG_HEADER(config.h) AC_PREFIX_DEFAULT(/usr/local/panda) diff --git a/ppremake/ppScope.cxx b/ppremake/ppScope.cxx index 77f06c8c61..e0988b9fa9 100644 --- a/ppremake/ppScope.cxx +++ b/ppremake/ppScope.cxx @@ -1820,7 +1820,7 @@ expand_wordlist(const string ¶ms) { tokenize_whitespace(expand_string(tokens[2]), words); start = max(start, 1); - end = min(end, (int)words.size()); + end = min(end, (int)words.size() + 1); if (end < start) { return string();