From 8b0fa6d0b107a00d0fcd599f19dec5ee15833fcc Mon Sep 17 00:00:00 2001 From: Matt Van Zanten Date: Mon, 3 Oct 2022 11:07:16 -0700 Subject: [PATCH] running fbt format --- .../plugins/flipfrid/scene/flipfrid_scene_select_field.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/applications/plugins/flipfrid/scene/flipfrid_scene_select_field.c b/applications/plugins/flipfrid/scene/flipfrid_scene_select_field.c index 28652479c..3e0810174 100644 --- a/applications/plugins/flipfrid/scene/flipfrid_scene_select_field.c +++ b/applications/plugins/flipfrid/scene/flipfrid_scene_select_field.c @@ -12,10 +12,12 @@ void flipfrid_center_displayed_key(FlipFridState* context, uint8_t index) { } for(uint8_t i = 0; i < data_len; i++) { - if(context->data[i] < 9 ) { - key_index += snprintf(&key_cstr[key_index], key_len-key_index, "0%X ", context->data[i]); + if(context->data[i] < 9) { + key_index += + snprintf(&key_cstr[key_index], key_len - key_index, "0%X ", context->data[i]); } else { - key_index += snprintf(&key_cstr[key_index], key_len-key_index, "%X ", context->data[i]); + key_index += + snprintf(&key_cstr[key_index], key_len - key_index, "%X ", context->data[i]); } }