mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-06-11 18:38:07 +00:00
examples/clear-storage: Clarify default as N
Pressing enter, selects N(o), make that obvious by capitalizing N instead of Y. Signed-off-by: Daniel Schaefer <git@danielschaefer.me>
This commit is contained in:
committed by
Daniel Schaefer
parent
c0a4626a3b
commit
710735efdd
@@ -121,7 +121,7 @@ start_clear_storage (FpDevice *dev, ClearStorageData *clear_storage_data)
|
|||||||
{
|
{
|
||||||
char buffer[20];
|
char buffer[20];
|
||||||
|
|
||||||
g_print ("Clear device storage? [Y/n]? ");
|
g_print ("Clear device storage? [y/N]? ");
|
||||||
if (fgets (buffer, sizeof (buffer), stdin) &&
|
if (fgets (buffer, sizeof (buffer), stdin) &&
|
||||||
(buffer[0] == 'Y' || buffer[0] == 'y'))
|
(buffer[0] == 'Y' || buffer[0] == 'y'))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user