Code

screen: don't store "screen" as a pointer
authorMax Kellermann <max@duempel.org>
Wed, 17 Sep 2008 10:07:02 +0000 (12:07 +0200)
committerMax Kellermann <max@duempel.org>
Wed, 17 Sep 2008 10:07:02 +0000 (12:07 +0200)
commitea1ec45e42791efa169ae0ed81a7ea8e1ebad69e
tree02fa38e8d8392844435af03fc614fa917a8eb356
parentc98908f6db5ef29a15a98b0dbc756dc24c8ef38a
screen: don't store "screen" as a pointer

There can only be onle screen struct instance at a time.  Declare it
as a static struct, instead of a pointer to the struct.  This
simplifies all accesses, and avoids the dynamic allocation.
src/screen.c