diff --git a/projects/Closure/63/com/google/javascript/jscomp/LightweightMessageFormatter.java b/projects/Closure/63/com/google/javascript/jscomp/LightweightMessageFormatter.java index 5a4f884..420dbc0 100644 --- a/projects/Closure/63/com/google/javascript/jscomp/LightweightMessageFormatter.java +++ b/projects/Closure/63/com/google/javascript/jscomp/LightweightMessageFormatter.java @@ -95,7 +95,7 @@ private String format(JSError error, boolean warning) { // charno == sourceExpert.length() means something is missing // at the end of the line if (excerpt.equals(LINE) - && 0 <= charno && charno < sourceExcerpt.length()) { + && 0 <= charno && charno <= sourceExcerpt.length()) { for (int i = 0; i < charno; i++) { char c = sourceExcerpt.charAt(i); if (Character.isWhitespace(c)) {