| 723 | } |
| 724 | |
| 725 | gboolean |
| 726 | ghb_check_name_template (signal_user_data_t *ud, const char *str) |
| 727 | { |
| 728 | if (ghb_dict_get_bool(ud->prefs, "auto_name")) |
| 729 | { |
| 730 | const gchar *template; |
| 731 | |
| 732 | template = ghb_dict_get_string(ud->prefs, "auto_name_template"); |
| 733 | if (strstr(template, str) != NULL) |
| 734 | return TRUE; |
| 735 | } |
| 736 | return FALSE; |
| 737 | } |
| 738 | |
| 739 | typedef struct { |
| 740 | const char *pattern; |
no test coverage detected