Apply CR suggestions
This commit is contained in:
parent
ba2bd5c3e3
commit
1e69400369
@ -1530,7 +1530,7 @@ void Path::makePath(const String& path, const InArgs& in) {
|
|||||||
while (current != end) {
|
while (current != end) {
|
||||||
if (*current == '[') {
|
if (*current == '[') {
|
||||||
++current;
|
++current;
|
||||||
if (*current == '%') {
|
if (current != end && *current == '%') {
|
||||||
addPathInArg(path, in, itInArg, PathArgument::kindIndex);
|
addPathInArg(path, in, itInArg, PathArgument::kindIndex);
|
||||||
++current;
|
++current;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user