| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0044e1b commit a5270d6
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -580,7 +580,7 @@ void SimpleString::padStringsToSameLength(SimpleString& str1, SimpleString& str2 | |||
| 580 | 580 | ||
| 581 | 581 | SimpleString SimpleString::subString(size_t beginPos, size_t amount) const | |
| 582 | 582 | { | |
| 583 | - if (beginPos > size()-1) return ""; | ||
| 583 | + if (beginPos >= size()) return ""; | ||
| 584 | 584 | ||
| 585 | 585 | SimpleString newString = getBuffer() + beginPos; | |
| 586 | 586 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments