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 committed 2019-11-05 09:41:47 -08:00
1 parent 07cb2a65a7
commit c31327b279
1 file changed
+3
+3
View File
@@ -93,6 +93,9 @@ static GtkWidget* create_label(char* mode, char* text, char* search_text, char*
char* tmp = strdup(text); char* tmp = strdup(text);
char* mode = NULL; char* mode = NULL;
if(strchr(tmp, ':') == NULL) {
mode = "text";
}
char* save_ptr; char* save_ptr;
char* str = strtok_r(tmp, ":", &save_ptr); char* str = strtok_r(tmp, ":", &save_ptr);
do { do {