From 00877386eec0e55d102864197fc29117f1159cb9 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Thu, 26 Apr 2018 10:11:10 +0200 Subject: payloads/libpayload: Add spaces around '==' Change-Id: Ie1da925aceb01c2d21b472bf171000803004578f Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/25856 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- payloads/libpayload/curses/pdcurses-backend/pdckbd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'payloads/libpayload/curses/pdcurses-backend') 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 -- cgit v1.2.3