From ae9e955f10f78469c4565e7aa2a62ffdacf364ec Mon Sep 17 00:00:00 2001 From: nwanua Date: Thu, 22 Feb 2001 07:32:36 +0000 Subject: [PATCH] added a #define for WMClearText --- WINGs/WINGs/WINGs.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/WINGs/WINGs/WINGs.h b/WINGs/WINGs/WINGs.h index 68c51843..b34b490c 100644 --- a/WINGs/WINGs/WINGs.h +++ b/WINGs/WINGs/WINGs.h @@ -1585,6 +1585,9 @@ void WMPrependTextStream(WMText *tPtr, char *text); void WMAppendTextStream(WMText *tPtr, char *text); +#define WMClearText(tPtr) WMAppendTextStream \ + ((tPtr), (NULL)) + /* free the text */ char * WMGetTextStream(WMText *tPtr);