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)
{
if (*text != ' ' && *text != '\t')
if (*text != ' ' && *text != '\t' && *text != '\n')
break;
text++;
}
@ -414,7 +414,6 @@ typedef struct {
Eina_Inarray texts;
} Async_Log;
static Eina_Spinlock logs_lock;
static unsigned int logs_count = 0;
static Eina_Trash *logs = NULL;