searchpanel: Skip leading newlines.

This commit is contained in:
Alastair Poole 2020-02-09 12:44:33 +00:00
parent cfb6b12f0f
commit d49691999f
1 changed files with 1 additions and 2 deletions

View File

@ -146,7 +146,7 @@ edi_searchpanel_line_render(const Eina_File_Line *line, const char *path, size_t
while (text < end) while (text < end)
{ {
if (*text != ' ' && *text != '\t') if (*text != ' ' && *text != '\t' && *text != '\n')
break; break;
text++; text++;
} }
@ -414,7 +414,6 @@ typedef struct {
Eina_Inarray texts; Eina_Inarray texts;
} Async_Log; } Async_Log;
static Eina_Spinlock logs_lock; static Eina_Spinlock logs_lock;
static unsigned int logs_count = 0; static unsigned int logs_count = 0;
static Eina_Trash *logs = NULL; static Eina_Trash *logs = NULL;