diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-04-26 10:11:10 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-05-02 07:59:14 +0000 |
commit | 00877386eec0e55d102864197fc29117f1159cb9 (patch) | |
tree | d9850b8757ccce87181b7ee6eecdaa2b104b5b63 /payloads/libpayload/curses/pdcurses-backend | |
parent | 12f345d67161d4f28c1ead2ca950ba1f57e44035 (diff) |
payloads/libpayload: Add spaces around '=='
Change-Id: Ie1da925aceb01c2d21b472bf171000803004578f
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/25856
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'payloads/libpayload/curses/pdcurses-backend')
-rw-r--r-- | payloads/libpayload/curses/pdcurses-backend/pdckbd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/payloads/libpayload/curses/pdcurses-backend/pdckbd.c b/payloads/libpayload/curses/pdcurses-backend/pdckbd.c index c872262fd3..6b5b7eade1 100644 --- a/payloads/libpayload/curses/pdcurses-backend/pdckbd.c +++ b/payloads/libpayload/curses/pdcurses-backend/pdckbd.c @@ -149,14 +149,14 @@ int PDC_get_key(void) #if IS_ENABLED(CONFIG_LP_PC_KEYBOARD) if ((curses_flags & F_ENABLE_CONSOLE) && - keyboard_havechar() && (c==0)) { + keyboard_havechar() && (c == 0)) { c = keyboard_getchar(); } #endif #if IS_ENABLED(CONFIG_LP_SERIAL_CONSOLE) if ((curses_flags & F_ENABLE_SERIAL) && - serial_havechar() && (c==0)) { + serial_havechar() && (c == 0)) { c = cook_serial(serial_getchar()); } #endif |