Browse Source

v16.6-a5 fix issue reported by @SaurabhBhaiyaji

legacy
Austin Huang 5 years ago
parent
commit
e705131dea
No known key found for this signature in database GPG Key ID: 84C23AA04587A91F
  1. 2
      app/src/main/java/awais/instagrabber/utils/Utils.java

2
app/src/main/java/awais/instagrabber/utils/Utils.java

@ -215,7 +215,7 @@ public final class Utils {
if (++i == commentLength) break; if (++i == commentLength) break;
currChar = text.charAt(i); currChar = text.charAt(i);
if (currChar == '.') {
if (currChar == '.' && i + 1 < commentLength) {
final char nextChar = text.charAt(i + 1); final char nextChar = text.charAt(i + 1);
if (nextChar == '.' || nextChar == ' ' || nextChar == '#' || nextChar == '@' || nextChar == '/' if (nextChar == '.' || nextChar == ' ' || nextChar == '#' || nextChar == '@' || nextChar == '/'
|| nextChar == '\r' || nextChar == '\n') { || nextChar == '\r' || nextChar == '\n') {

Loading…
Cancel
Save