| commit | 958112c5a396815da7a731f406dbfd27bf713572 | [log] [tgz] |
|---|---|---|
| author | Christian Göttsche <cgzones@googlemail.com> | Tue Jan 05 14:45:12 2021 +0100 |
| committer | BenBE <BenBE@geshi.org> | Mon Jan 11 20:12:34 2021 +0100 |
| tree | 49b8640137ba6e70072d5ade0bc8260abc59dc8e | |
| parent | a118928dee0874eef98be81531a98577c1ae3f7d [diff] [blame] |
Refactor setting filter and use safe strncpy
diff --git a/IncSet.h b/IncSet.h index 2858002..4ff19aa 100644 --- a/IncSet.h +++ b/IncSet.h
@@ -40,6 +40,8 @@ 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);