MCPcopy Create free account
hub / github.com/Entware/Entware / reset_subtitle

Function reset_subtitle

scripts/config/mconf.c:341–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339}
340
341static void reset_subtitle(void)
342{
343 struct subtitle_list *pos, *tmp;
344
345 for (pos = subtitles; pos != NULL; pos = tmp) {
346 tmp = pos->next;
347 free(pos);
348 }
349 subtitles = NULL;
350 set_dialog_subtitles(subtitles);
351}
352
353static int show_textbox_ext(const char *title, const char *text, int r, int c,
354 int *vscroll, int *hscroll,

Callers 2

confFunction · 0.85
handle_exitFunction · 0.85

Calls 1

set_dialog_subtitlesFunction · 0.85

Tested by

no test coverage detected