mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-20 03:02:36 +03:00
Avoid nsurl NULL access
This commit is contained in:
parent
7a7d99e004
commit
0368935cd3
@ -338,7 +338,7 @@ Object *ami_datatype_object_from_bitmap(struct bitmap *bitmap)
|
||||
}
|
||||
|
||||
SetDTAttrs(dto,NULL,NULL,
|
||||
DTA_ObjName,nsurl_access(bitmap->url),
|
||||
DTA_ObjName, bitmap->url ? nsurl_access(bitmap->url) : "",
|
||||
DTA_ObjAnnotation,bitmap->title,
|
||||
DTA_ObjAuthor,messages_get("NetSurf"),
|
||||
DTA_NominalHoriz,bitmap_get_width(bitmap),
|
||||
|
Loading…
Reference in New Issue
Block a user