If images are allowed and no display mode is given by the entry then text is used, this allows run to work correctly when images are shown

This commit is contained in:
Scoopta 2019-11-05 09:41:47 -08:00
parent 07cb2a65a7
commit c31327b279

View File

@ -93,6 +93,9 @@ static GtkWidget* create_label(char* mode, char* text, char* search_text, char*
char* tmp = strdup(text);
char* mode = NULL;
if(strchr(tmp, ':') == NULL) {
mode = "text";
}
char* save_ptr;
char* str = strtok_r(tmp, ":", &save_ptr);
do {