From 71f64125e8f66cf0e504c8b35f7ab89f22765ae4 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 23 Feb 2014 17:49:30 +0100 Subject: fix errors in getting current curves + add getting curent curves to tests + fix multimonitor mistakes in examples MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/blueshift_randr.pyx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/blueshift_randr.pyx') diff --git a/src/blueshift_randr.pyx b/src/blueshift_randr.pyx index 76a6f86..294910a 100644 --- a/src/blueshift_randr.pyx +++ b/src/blueshift_randr.pyx @@ -54,9 +54,8 @@ def randr_read(int use_crtc): s = got[i] i += 1 for j in range(s): - c.append(s[i + j]) + c.append(got[i + j]) i += s - free(got) return (r, g, b) -- cgit v1.2.3-70-g09d2