diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-07-06 22:16:50 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-07-06 22:16:50 +0200 |
commit | 00478d5500000df83738d35da3360a89900ee22c (patch) | |
tree | 0df78627c874ec63c0b3002e5de61fa09f901c6e /src | |
parent | 76c4bf8a1cc85d9cd15c0bb6817a7fe92c5e6eaa (diff) |
use CssLength
Diffstat (limited to 'src')
-rw-r--r-- | src/html.cc | 4 | ||||
-rw-r--r-- | src/table.cc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/html.cc b/src/html.cc index e3507435..f9371f3d 100644 --- a/src/html.cc +++ b/src/html.cc @@ -1955,8 +1955,8 @@ DilloImage *a_Html_image_new(DilloHtml *html, const char *tag, DilloImage *Image; char *width_ptr, *height_ptr, *alt_ptr; const char *attrbuf; - Length l_w = CSS_CREATE_LENGTH(0.0, CSS_LENGTH_TYPE_AUTO); - Length l_h = CSS_CREATE_LENGTH(0.0, CSS_LENGTH_TYPE_AUTO); + CssLength l_w = CSS_CREATE_LENGTH(0.0, CSS_LENGTH_TYPE_AUTO); + CssLength l_h = CSS_CREATE_LENGTH(0.0, CSS_LENGTH_TYPE_AUTO); int space, border, w = 0, h = 0; bool load_now; CssPropertyList props; diff --git a/src/table.cc b/src/table.cc index ababe37f..9d0eba2e 100644 --- a/src/table.cc +++ b/src/table.cc @@ -45,7 +45,7 @@ void Html_tag_open_table(DilloHtml *html, const char *tag, int tagsize) CssPropertyList props, *table_cell_props; const char *attrbuf; int32_t border = -1, cellspacing = -1, cellpadding = -1, bgcolor = -1; - int cssLength; + CssLength cssLength; #endif |