summaryrefslogtreecommitdiff
path: root/textscreen/txt_label.c
diff options
context:
space:
mode:
Diffstat (limited to 'textscreen/txt_label.c')
-rw-r--r--textscreen/txt_label.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/textscreen/txt_label.c b/textscreen/txt_label.c
index 022e0480..356623d9 100644
--- a/textscreen/txt_label.c
+++ b/textscreen/txt_label.c
@@ -6,17 +6,17 @@
#include "txt_main.h"
#include "txt_window.h"
-static void TXT_LabelSizeCalc(UNCAST(label), int *w, int *h)
+static void TXT_LabelSizeCalc(TXT_UNCAST_ARG(label), int *w, int *h)
{
- CAST(txt_label_t, label);
+ TXT_CAST_ARG(txt_label_t, label);
*w = label->w;
*h = label->h;
}
-static void TXT_LabelDrawer(UNCAST(label), int w, int selected)
+static void TXT_LabelDrawer(TXT_UNCAST_ARG(label), int w, int selected)
{
- CAST(txt_label_t, label);
+ TXT_CAST_ARG(txt_label_t, label);
int i;
int origin_x, origin_y;
@@ -32,9 +32,9 @@ static void TXT_LabelDrawer(UNCAST(label), int w, int selected)
}
}
-static void TXT_LabelDestructor(UNCAST(label))
+static void TXT_LabelDestructor(TXT_UNCAST_ARG(label))
{
- CAST(txt_label_t, label);
+ TXT_CAST_ARG(txt_label_t, label);
free(label->label);
free(label->lines);