summaryrefslogtreecommitdiff
path: root/textscreen/txt_label.c
diff options
context:
space:
mode:
authorSimon Howard2006-05-22 11:59:11 +0000
committerSimon Howard2006-05-22 11:59:11 +0000
commit7c18ad6ccf1461696185013b333af3c056cc5630 (patch)
tree4dd7253ee816d30e7ee0bb2d4b1966d2662282a2 /textscreen/txt_label.c
parent11643c088751a2d3797467463bce4476d3b03292 (diff)
downloadchocolate-doom-7c18ad6ccf1461696185013b333af3c056cc5630.tar.gz
chocolate-doom-7c18ad6ccf1461696185013b333af3c056cc5630.tar.bz2
chocolate-doom-7c18ad6ccf1461696185013b333af3c056cc5630.zip
CAST -> TXT_CAST_ARG, UNCAST -> TXT_UNCAST_ARG.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 509
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);