Commit af9071f9 authored by Davis King's avatar Davis King

Fixed a bug

parent a0bb4ea8
...@@ -74,7 +74,7 @@ namespace ...@@ -74,7 +74,7 @@ namespace
const int num = sa = words[4]; const int num = sa = words[4];
img.boxes.resize(num); img.boxes.resize(num);
} }
else if (words.size() > 4 && words[2] == "for" && words[3] == "object") else if (words.size() > 4 && (words[2] == "for" || words[2] == "on") && words[3] == "object")
{ {
int idx = sa = words[4]; int idx = sa = words[4];
--idx; --idx;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment