mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[iframes] Do not format strange frame
This commit is contained in:
parent
199237820e
commit
83a359005b
@ -128,7 +128,6 @@ format_iframe(struct session *ses, struct iframe_desc *iframe_desc,
|
||||
struct frame *iframe = NULL;
|
||||
struct cache_entry *cached;
|
||||
int plain;
|
||||
int i;
|
||||
|
||||
assert(ses && iframe_desc && o);
|
||||
if_assert_failed return NULL;
|
||||
@ -139,10 +138,8 @@ format_iframe(struct session *ses, struct iframe_desc *iframe_desc,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
i = 0;
|
||||
foreach (iframe, loc->iframes) {
|
||||
if (i == j) break;
|
||||
i++;
|
||||
if (!c_strcasecmp(iframe->name, iframe_desc->name)) break;
|
||||
}
|
||||
|
||||
if (!iframe) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user