Unverified Commit 35883b03 authored by Thorsten Blum's avatar Thorsten Blum Committed by Nathan Chancellor
Browse files

kconfig: nconf: Format and print 'line' without a temporary copy



Use "%.*s" as the format specifier and supply the 'line' length 'len' to
mvwprintw() to format and print each line without making a temporary
copy. Remove the temporary buffer.

Signed-off-by: default avatarThorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: default avatarNicolas Schier <nsc@kernel.org>
Link: https://lore.kernel.org/r/20250811161650.37428-2-thorsten.blum@linux.dev


Signed-off-by: default avatarNathan Chancellor <nathan@kernel.org>
parent 2d0ec4a9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment