Fix crash in GETURL

svn path=/trunk/netsurf/; revision=6794
This commit is contained in:
Chris Young 2009-03-17 21:20:15 +00:00
parent 58cd142338
commit bcb645a301

View File

@ -150,7 +150,7 @@ STATIC VOID rx_tofront(struct ARexxCmd *cmd, struct RexxMsg *rxm __attribute__((
STATIC VOID rx_geturl(struct ARexxCmd *cmd, struct RexxMsg *rxm __attribute__((unused)))
{
if(curbw)
if(curbw && curbw->current_content)
{
strcpy(result,curbw->current_content->url);
}