projects
/
gnome.introspection-doc-generator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a40a439
)
JSDOC/TextStream.vala
author
Alan Knowles
<alan@roojs.com>
Tue, 15 Sep 2015 09:30:54 +0000
(17:30 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 15 Sep 2015 09:30:54 +0000
(17:30 +0800)
JSDOC/TextStream.vala
patch
|
blob
|
history
diff --git
a/JSDOC/TextStream.vala
b/JSDOC/TextStream.vala
index
a68d2a7
..
22eff7a
100644
(file)
--- a/
JSDOC/TextStream.vala
+++ b/
JSDOC/TextStream.vala
@@
-62,13
+62,12
@@
namespace JSDOC {
var i = 0;
while (i < n) {
if (this.cursor+i < this.length) {
- pulled += this.text.get_char(this.cursor+i);
- i += pulled.to_string.length();
+ var add = this.text.get_char(this.cursor+i).to_string()
+ pulled += add;
+ i += add.length();
} else {
-
return "";
-
}
}