aboutsummaryrefslogtreecommitdiff
path: root/src/html_common.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/html_common.hh')
-rw-r--r--src/html_common.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/html_common.hh b/src/html_common.hh
index 36c6a464..c63b9d97 100644
--- a/src/html_common.hh
+++ b/src/html_common.hh
@@ -19,8 +19,8 @@
* Macros
*/
-// Dw to Textblock
-#define DW2TB(dw) ((Textblock*)dw)
+// "html struct" to Textblock
+#define HT2TB(html) ((Textblock*)(html->dw))
// "html struct" to "Layout"
#define HT2LT(html) ((Layout*)html->bw->render_layout)
// "Image" to "Dw Widget"