Code

screen: added macro NUM_SCREENS
authorMax Kellermann <max@duempel.org>
Wed, 17 Sep 2008 10:08:03 +0000 (12:08 +0200)
committerMax Kellermann <max@duempel.org>
Wed, 17 Sep 2008 10:08:03 +0000 (12:08 +0200)
commit2cbb38814a0e883563e743031dbde58b83b90749
tree20be4eff3e61925bbd5957cc6dd0106eb9608c1a
parente7e9bcbe5f33eb13e14a2b053643b0de33892757
screen: added macro NUM_SCREENS

Since the number of screens is known at compile time, define a macro
which calculates this, instead of having a sentinel element.
src/screen.c