mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-13 06:19:21 +03:00
Fix return value check
svn path=/trunk/netsurf/; revision=3249
This commit is contained in:
parent
00af899230
commit
a27a1e425a
@ -82,9 +82,9 @@ void browser_window_create_iframes(struct browser_window *bw,
|
|||||||
window->margin_height = cur->margin_height;
|
window->margin_height = cur->margin_height;
|
||||||
if (cur->name) {
|
if (cur->name) {
|
||||||
window->name = strdup(cur->name);
|
window->name = strdup(cur->name);
|
||||||
if (!cur->name)
|
if (!window->name)
|
||||||
warn_user("NoMemory", 0);
|
warn_user("NoMemory", 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* linking */
|
/* linking */
|
||||||
window->box = cur->box;
|
window->box = cur->box;
|
||||||
|
Loading…
Reference in New Issue
Block a user