From 958112c5a396815da7a731f406dbfd27bf713572 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Tue, 5 Jan 2021 14:45:12 +0100 Subject: Refactor setting filter and use safe strncpy --- IncSet.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'IncSet.h') diff --git a/IncSet.h b/IncSet.h index 28580023..4ff19aad 100644 --- a/IncSet.h +++ b/IncSet.h @@ -40,6 +40,8 @@ static inline const char* IncSet_filter(const IncSet* this) { return this->filtering ? this->modes[INC_FILTER].buffer : NULL; } +void IncSet_setFilter(IncSet* this, const char* filter); + typedef const char* (*IncMode_GetPanelValue)(Panel*, int); void IncSet_reset(IncSet* this, IncType type); -- cgit v1.2.3