forked from enlightenment/edi
searchpanel: Skip leading newlines.
This commit is contained in:
parent
cfb6b12f0f
commit
d49691999f
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue