From 46e5a0629fdbd83f2a701bf82e6ad8b4a95605a1 Mon Sep 17 00:00:00 2001 From: LAX1DUDE Date: Mon, 17 Oct 2022 16:02:37 -0700 Subject: [PATCH] fixed mistake --- app/crashviewer.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/crashviewer.js b/app/crashviewer.js index 77c98aa..c99ebe0 100644 --- a/app/crashviewer.js +++ b/app/crashviewer.js @@ -156,10 +156,10 @@ function highlightLine(line) { function formatLine(srcMapLine) { if(srcMapLine.line !== null) { if(srcMapLine.name === null) { - return (srcMapLine.source === null ? "" : srcMapLine.source) + ":" + + return (srcMapLine.source === null ? "" : srcMapLine.source) + ":" + srcMapLine.line + (srcMapLine.column > 0 ? ":" + srcMapLine.column : ""); }else { - return "" + srcMapLine.name + " (" + (srcMapLine.source === null ? "" : + return "" + srcMapLine.name + " (" + (srcMapLine.source === null ? "" : srcMapLine.source) + ":" + srcMapLine.line + ":" + (srcMapLine.column > 0 ? ":" + srcMapLine.column : "") + ")"; } @@ -223,7 +223,7 @@ function updateSource(srcMap) { for(var i = 0; i < lines.length; ++i) { var l = lines[i]; - if(l.indexOf("eagswebrtc") === -1) { + if(l.indexOf("") === -1 && l.indexOf("eagswebrtc") === -1) { var split = l.split(":"); if(split.length > 1) {