]> gitweb.ps.run Git - ps-cgit/commit
ui-tree.c: Declare the state variable globally
authorLukas Fleischer <cgit@cryptocrack.de>
Sun, 3 Mar 2013 15:49:47 +0000 (16:49 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Mon, 4 Mar 2013 14:12:55 +0000 (09:12 -0500)
commitc4b8db3f0973bc63d60806d197b55dc2901870f0
treebc817b4d410ac59b7e3c2fe01352630f82b393ef
parentfb5a37317de9532509b9c398916c0290212ae233
ui-tree.c: Declare the state variable globally

This allows for removing the header variable in a following patch. We
can use the state variable to check whether the tail needs to be printed
instead.

Note that the state variable will be moved into a context structure
later.

Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
ui-tree.c