projects
/
platform
/
upstream
/
kmscon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b93b07
)
Set each cell to '?' for testing purposes
author
David Herrmann
<dh.herrmann@googlemail.com>
Sat, 26 Nov 2011 15:47:50 +0000
(16:47 +0100)
committer
David Herrmann
<dh.herrmann@googlemail.com>
Sat, 26 Nov 2011 15:47:50 +0000
(16:47 +0100)
Each cell of a console is initialized to '?' to allow testing the glyph
operations.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/console.c
patch
|
blob
|
history
diff --git
a/src/console.c
b/src/console.c
index
b70eca9
..
76b134f
100644
(file)
--- a/
src/console.c
+++ b/
src/console.c
@@
-294,6
+294,7
@@
int kmscon_console_resize(struct kmscon_console *con, uint32_t x, uint32_t y)
kmscon_char_free(cells[j].ch);
goto err_free;
}
+ kmscon_char_set_u8(cells[i].ch, "?", 1);
}
kmscon_font_unref(con->font);