Skip to content

Commit 141f424

Browse files
committed
Cosmetic fixes
1 parent 41c23ba commit 141f424

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

cli/commands/add/add.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ static bool token_info_set_algo_from_str(TokenInfo* token_info, const FuriString
3838

3939
static bool args_read_uint8_and_trim(FuriString* args, uint8_t* value) {
4040
int int_value;
41-
if (!args_read_int_and_trim(args, &int_value) || int_value < 0 || int_value > UINT8_MAX) {
41+
if(!args_read_int_and_trim(args, &int_value) || int_value < 0 || int_value > UINT8_MAX) {
4242
return false;
4343
}
4444

@@ -133,7 +133,8 @@ void totp_cli_command_add_handle(PluginState* plugin_state, FuriString* args, Cl
133133
"\"\r\n");
134134
} else if(!token_info_set_digits_from_int(token_info, digit_value)) {
135135
TOTP_CLI_PRINTF(
136-
"\"%" PRIu8 "\" is incorrect value for argument \"" TOTP_CLI_COMMAND_ADD_ARG_DIGITS_PREFIX
136+
"\"%" PRIu8
137+
"\" is incorrect value for argument \"" TOTP_CLI_COMMAND_ADD_ARG_DIGITS_PREFIX
137138
"\"\r\n",
138139
digit_value);
139140
} else {
@@ -147,7 +148,8 @@ void totp_cli_command_add_handle(PluginState* plugin_state, FuriString* args, Cl
147148
"\"\r\n");
148149
} else if(!token_info_set_duration_from_int(token_info, duration_value)) {
149150
TOTP_CLI_PRINTF(
150-
"\"%" PRIu8 "\" is incorrect value for argument \"" TOTP_CLI_COMMAND_ADD_ARG_DURATION_PREFIX
151+
"\"%" PRIu8
152+
"\" is incorrect value for argument \"" TOTP_CLI_COMMAND_ADD_ARG_DURATION_PREFIX
151153
"\"\r\n",
152154
duration_value);
153155
} else {

0 commit comments

Comments
 (0)