Fix backlog fetching, need to use pointers it seems

This commit is contained in:
Mikko Ahlroth 2014-11-04 23:17:23 +02:00
parent c0428c6181
commit 8392a054e7

View file

@ -93,7 +93,7 @@ function Buffer(pointer, number, full_name, name, title) {
if (!this.inited && this.pointer !== '0') {
var self = this;
var lines = this.textList.count;
EQ.command('hdata buffer:' + this.full_name + '/own_lines/last_line(-' + (lines + 100) + ')/data', function(result) {
EQ.command('hdata buffer:0x' + this.pointer + '/own_lines/last_line(-' + (lines + 100) + ')/data', function(result) {
var lines = result[0].objectSets;
lines.reverse();
handleLines(lines);