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:
parent
07cb2a65a7
commit
c31327b279
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user