From 8311be0a3a233deebc461acaeedb37a8ae2d50e7 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Tue, 28 Jan 2014 01:13:35 +1000 Subject: White space fixes. --- boxes.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/boxes.c b/boxes.c index 50853f6..7a0a6d5 100644 --- a/boxes.c +++ b/boxes.c @@ -472,7 +472,7 @@ struct item { char *text; // What's shown to humans. struct key *key; // Shortcut key while the menu is displayed. - // If there happens to be a key bound to the same command, the menu system should find that and show it to. + // If there happens to be a key bound to the same command, the menu system should find that and show it to. char type; union { @@ -502,7 +502,7 @@ struct _event struct // scroll contents { int X, Y; - } scroll; + } scroll; // TODO - might need events for - leave box, enter box. Could use a new event type "command with arguments"? }; }; @@ -1818,7 +1818,7 @@ void editLine(view *view, int16_t X, int16_t Y, int16_t W, int16_t H) // TODO - Should only ask for a time out after we get an Escape. p = poll(pollfds, pollcount, 100); // Timeout of one tenth of a second (100). - if (0 > p) perror_exit("poll"); + if (0 > p) perror_exit("poll"); if (0 == p) // A timeout, trigger a time event. { if ((1 == i) && ('\x1B' == buffer[0])) -- cgit v1.1