summaryrefslogtreecommitdiff
path: root/render/box.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/box.c')
-rw-r--r--render/box.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/render/box.c b/render/box.c
index 03282ea8e..b9d566c2b 100644
--- a/render/box.c
+++ b/render/box.c
@@ -1,5 +1,5 @@
/**
- * $Id: box.c,v 1.48 2003/06/06 02:08:56 jmb Exp $
+ * $Id: box.c,v 1.49 2003/06/06 03:12:28 jmb Exp $
*/
#include <assert.h>
@@ -1505,7 +1505,7 @@ struct box* box_embed(xmlNode *n, struct content *content,
/* embed src */
if ((s = (char *) xmlGetProp(n, (const xmlChar *) "src"))) {
- po->src = strdup(s);
+ po->data = strdup(s);
url = url_join(strdup(s), content->url);
LOG(("embed '%s'", url));
xmlFree(s);