From 7c18ad6ccf1461696185013b333af3c056cc5630 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Mon, 22 May 2006 11:59:11 +0000 Subject: CAST -> TXT_CAST_ARG, UNCAST -> TXT_UNCAST_ARG. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 509 --- textscreen/txt_label.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'textscreen/txt_label.c') 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); -- cgit v1.2.3