Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix Red confirm_delete, CHECKWPS & DBTOOL

Change-Id: I2f375def92e4c3c4b6be9d0494de682e6d3ebd2d

+10 -9
+10 -9
apps/misc.c
··· 1133 1133 return rdbufend >= 0 ? num_read : -1; 1134 1134 } 1135 1135 1136 - int confirm_delete_yesno(const char *name) 1137 - { 1138 - const char *lines[] = { ID2P(LANG_REALLY_DELETE), name }; 1139 - const char *yes_lines[] = { ID2P(LANG_DELETING), name }; 1140 - const struct text_message message = { lines, 2 }; 1141 - const struct text_message yes_message = { yes_lines, 2 }; 1142 - return gui_syncyesno_run(&message, &yes_message, NULL); 1143 - } 1144 - 1145 1136 char* skip_whitespace(char* const str) 1146 1137 { 1147 1138 char *s = str; ··· 1153 1144 } 1154 1145 1155 1146 #if !defined(CHECKWPS) && !defined(DBTOOL) 1147 + 1148 + int confirm_delete_yesno(const char *name) 1149 + { 1150 + const char *lines[] = { ID2P(LANG_REALLY_DELETE), name }; 1151 + const char *yes_lines[] = { ID2P(LANG_DELETING), name }; 1152 + const struct text_message message = { lines, 2 }; 1153 + const struct text_message yes_message = { yes_lines, 2 }; 1154 + return gui_syncyesno_run(&message, &yes_message, NULL); 1155 + } 1156 + 1156 1157 /* time_split_units() 1157 1158 split time values depending on base unit 1158 1159 unit_idx: UNIT_HOUR, UNIT_MIN, UNIT_SEC, UNIT_MS