From 8392a054e79083a095fdcb54afe6449c664d16cc Mon Sep 17 00:00:00 2001 From: Mikko Ahlroth Date: Tue, 4 Nov 2014 23:17:23 +0200 Subject: [PATCH] Fix backlog fetching, need to use pointers it seems --- qml/js/buffers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qml/js/buffers.js b/qml/js/buffers.js index 003be75..390c1a7 100644 --- a/qml/js/buffers.js +++ b/qml/js/buffers.js @@ -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);