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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user