mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
added a #define for WMClearText
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user