summaryrefslogtreecommitdiff
path: root/render/box.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-03-02 19:30:08 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-03-02 19:30:08 +0000
commit3e7ea29e4b7a4441024846a49e90acaee4bdaf7b (patch)
tree4680921005f3ed954ecf08cec49d58ca52935b3d /render/box.h
parentbe366b0e6bb47fa8cc0bb8a6c310884f2cf4078f (diff)
downloadnetsurf-3e7ea29e4b7a4441024846a49e90acaee4bdaf7b.tar.gz
netsurf-3e7ea29e4b7a4441024846a49e90acaee4bdaf7b.tar.bz2
Move clone to box flags.
svn path=/trunk/netsurf/; revision=11890
Diffstat (limited to 'render/box.h')
-rw-r--r--render/box.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/render/box.h b/render/box.h
index 441e3d9f7..7b3cc4a3d 100644
--- a/render/box.h
+++ b/render/box.h
@@ -121,7 +121,8 @@ typedef enum {
NEW_LINE = 1 << 0, /* first inline on a new line */
STYLE_OWNED = 1 << 1, /* style is owned by this box */
PRINTED = 1 << 2, /* box has already been printed */
- PRE_STRIP = 1 << 3 /* PRE tag needing leading newline stripped */
+ PRE_STRIP = 1 << 3, /* PRE tag needing leading newline stripped */
+ CLONE = 1 << 4 /* continuation of previous box from wrapping */
} box_flags;
/* Sides of a box */
@@ -203,9 +204,6 @@ struct box {
/** Width of space after current text (depends on font and size). */
int space;
- /** This box is a continuation of the previous box (eg from line
- * breaking). */
- unsigned int clone : 1;
char *href; /**< Link, or 0. */
const char *target; /**< Link target, or 0. */