Andrew Goodbody ebb2c9e550 common: readline: Fix always true test
The variable base is unsigned so >= 0 is always true. Fix this test
so that it is actually useful. The fix prevents the code from causing
a segfault in the case where Ctrl-w is pressed on a line consisting
only of spaces.

Fixes: dcc18ce0dbaf ("cli: Implement delete-word in cread_line()")
Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
2025-07-08 15:35:49 -06:00
..
2025-07-07 14:10:59 -06:00
2025-06-20 12:15:08 -06:00
2024-11-03 21:27:12 -06:00
2024-05-22 08:55:29 -06:00
2025-04-08 16:23:51 -06:00
2025-02-03 16:00:42 -06:00
2024-07-15 12:12:17 -06:00
2024-07-15 12:12:17 -06:00
2025-01-26 11:06:56 +01:00
2025-06-23 16:15:23 -06:00
2025-03-11 23:06:18 +01:00
2024-07-15 12:12:17 -06:00