Skip to content

Commit b1fa90a

Browse files
author
Chris K
committed
Fixed previous commit.
1 parent 2fed4e3 commit b1fa90a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ecma-debugger/stop_at.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ cls.EcmascriptDebugger["6.0"].StopAt = function()
4949
"var MAX_LINE_LENGTH = 160;",
5050
"var last = 0;",
5151
"var index = 0;",
52-
"while ((index = scriptData.indexOf(\"\n\"), last) > -1)",
52+
"while ((index = scriptData.indexOf(\"\\n\", last)) > -1)",
5353
"{",
5454
" if (index - last > MAX_LINE_LENGTH)",
5555
" return true;",

0 commit comments

Comments
 (0)