diff --git a/src/ChangeLog b/src/ChangeLog index 3e92f3350..d9b282525 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2003-07-02 Pavel Roskin + + * ext.c (regex_check_type): Set content_shift to skip the + filename. + 2003-06-27 David Sterba * hotlist.c: Add buttons "Refresh" and "Free VFSs now" to Active diff --git a/src/ext.c b/src/ext.c index 1115d3394..fe278b59e 100644 --- a/src/ext.c +++ b/src/ext.c @@ -419,6 +419,7 @@ regex_check_type (char *filename, int file_len, char *ptr, int *have_type) if (islocal) { if (!strncmp (content_string, filename, file_len)) { /* Skip "filename: " */ + content_shift = file_len; if (content_string[content_shift] == ':') { content_shift++; /* Solaris' file prints tab(s) after ':' */