2010-03-18 13:30:15 +00:00
|
|
|
commit 7b9226c5da3a81fb758bee70aafe05bb64d37464
|
|
|
|
Author: Andrew Borodin <aborodin@vmail.ru>
|
|
|
|
Date: Sun Feb 28 18:19:52 2010 +0300
|
|
|
|
|
|
|
|
Ticket #2068: fixed segfault in panelization of file find result.
|
|
|
|
|
|
|
|
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
|
|
|
|
|
|
|
|
diff --git a/src/find.c b/src/find.c
|
|
|
|
index dc38e5f..883cb07 100644
|
|
|
|
--- a/src/find.c
|
|
|
|
+++ b/src/find.c
|
|
|
|
@@ -1255,7 +1255,7 @@ find_file (const char *start_dir, const char *pattern, const char *content,
|
|
|
|
const char *lc_filename = NULL;
|
|
|
|
WLEntry *le = (WLEntry *) entry->data;
|
|
|
|
|
|
|
|
- if ((le->text == NULL) || (entry->data == NULL))
|
|
|
|
+ if ((le->text == NULL) || (le->data == NULL))
|
2010-03-02 14:54:48 +00:00
|
|
|
continue;
|
|
|
|
|
2010-03-18 13:30:15 +00:00
|
|
|
if (content_pattern != NULL)
|