Skip to content

Commit 425ca73

Browse files
authored
Merge pull request #43 from acegoal07/dev
Function change
2 parents 8135228 + beec5f6 commit 425ca73

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

scenes/nfc_playlist_scene_nfc_move_item.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ bool nfc_playlist_nfc_move_item_scene_on_event(void* context, SceneManagerEvent
108108
counter++;
109109
if(counter == selected_target) {
110110
furi_string_trim(line);
111-
furi_string_cat_printf(tmp_target_str, "%s", furi_string_get_cstr(line));
111+
furi_string_cat(tmp_target_str, line);
112112
stream_rewind(stream);
113113
counter = 0;
114114
break;
@@ -125,7 +125,7 @@ bool nfc_playlist_nfc_move_item_scene_on_event(void* context, SceneManagerEvent
125125
}
126126

127127
if(!furi_string_empty(tmp_new_order_str)) {
128-
furi_string_cat_printf(tmp_new_order_str, "%s", "\n");
128+
furi_string_cat(tmp_new_order_str, "\n");
129129
}
130130

131131
furi_string_trim(line);
@@ -146,7 +146,7 @@ bool nfc_playlist_nfc_move_item_scene_on_event(void* context, SceneManagerEvent
146146
}
147147
furi_string_free(tmp_target_str);
148148
} else {
149-
furi_string_cat_printf(tmp_new_order_str, "%s", furi_string_get_cstr(line));
149+
furi_string_cat(tmp_new_order_str, furi_string_get_cstr(line));
150150
}
151151
}
152152

scenes/nfc_playlist_scene_nfc_remove.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ bool nfc_playlist_nfc_remove_scene_on_event(void* context, SceneManagerEvent eve
9292
if(current_line != selected_line) {
9393
furi_string_trim(line);
9494
if(!furi_string_empty(tmp_str)) {
95-
furi_string_cat_printf(tmp_str, "\n");
95+
furi_string_cat(tmp_str, "\n");
9696
}
97-
furi_string_cat_printf(tmp_str, "%s", furi_string_get_cstr(line));
97+
furi_string_cat(tmp_str, furi_string_get_cstr(line));
9898
}
9999
}
100100

0 commit comments

Comments
 (0)