Index: src/messages.js |
diff --git a/src/messages.js b/src/messages.js |
index d7ca7cd6479bd85bbdecf3647dc941ae4c9460a1..2f3e5edf945dafde755e5fe9eed94660b11815b9 100644 |
--- a/src/messages.js |
+++ b/src/messages.js |
@@ -543,7 +543,7 @@ function GetPositionInLine(message) { |
var start_position = %MessageGetStartPosition(message); |
var location = script.locationFromPosition(start_position, false); |
if (location == null) return -1; |
- return start_position - location.start; |
+ return location.column; |
} |