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);