projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8e01a6
)
Palete/ValaSource.vala
author
Alan Knowles
<alan@roojs.com>
Wed, 8 Oct 2014 14:34:54 +0000
(22:34 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 8 Oct 2014 14:34:54 +0000
(22:34 +0800)
Palete/ValaSource.vala
patch
|
blob
|
history
diff --git
a/Palete/ValaSource.vala
b/Palete/ValaSource.vala
index
7313c59
..
c821be3
100644
(file)
--- a/
Palete/ValaSource.vala
+++ b/
Palete/ValaSource.vala
@@
-81,7
+81,7
@@
namespace Palete {
var bits = tmpstring.split("/*--VALACHECK-START--*/");
var offset =0;
if (bits.length > 0) {
- offset = bits[0].split("\n").length;
+ offset = bits[0].split("\n").length
-1
;
}
this.dumpCode(tmpstring);
print("offset %d\n", offset);