From 573dd8c99e3184313db5ed010c67219257219fd6 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 13 Sep 2017 13:13:34 +0530 Subject: [PATCH] ... --- README.asciidoc | 2 +- kitty/cursor.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.asciidoc b/README.asciidoc index b08ab5432..3ffd9cb23 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -58,7 +58,7 @@ using your favorite pager program such as less working directories and programs to run on startup. * Easily hackable (UI layer written in python, inner loops in C for -speed). Less than ten thousand lines of code. +speed). Less than fifteen thousand lines of code. * Uses OpenGL for rendering, offloads rendering work to the GPU for lower system load. diff --git a/kitty/cursor.c b/kitty/cursor.c index 03cdef8ed..16579a31f 100644 --- a/kitty/cursor.c +++ b/kitty/cursor.c @@ -34,7 +34,7 @@ static PyObject * repr(Cursor *self) { return PyUnicode_FromFormat( "Cursor(x=%u, y=%u, shape=%s, blink=%R, fg=#%08x, bg=#%08x, bold=%R, italic=%R, reverse=%R, strikethrough=%R, decoration=%d, decoration_fg=#%08x)", - self->x, self->y, (self->shape < NUM_OF_CURSOR_SHAPES && self->shape >= 0 ? cursor_names[self->shape] : "INVALID"), + self->x, self->y, (self->shape < NUM_OF_CURSOR_SHAPES ? cursor_names[self->shape] : "INVALID"), BOOL(self->blink), self->fg, self->bg, BOOL(self->bold), BOOL(self->italic), BOOL(self->reverse), BOOL(self->strikethrough), self->decoration, self->decoration_fg ); }