From 2d35d93f38bd71eda1f77f8ec9e46067f4572151 Mon Sep 17 00:00:00 2001 From: helixhorned Date: Sun, 16 Mar 2014 15:06:20 +0000 Subject: [PATCH] LunaCON: patch up off-by-one line numbering problem. DONT_BUILD. git-svn-id: https://svn.eduke32.com/eduke32@4381 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/lunatic/lunacon.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/polymer/eduke32/source/lunatic/lunacon.lua b/polymer/eduke32/source/lunatic/lunacon.lua index 9690d53fe..defcf7550 100644 --- a/polymer/eduke32/source/lunatic/lunacon.lua +++ b/polymer/eduke32/source/lunatic/lunacon.lua @@ -3083,6 +3083,13 @@ function getlinecol(pos) -- local local line = bsearch(g_newlineidxs, pos) assert(line and g_newlineidxs[line]<=pos and pos= 1) return line+1, col-1 end