diff options
| author | nathan <nathansmith@disroot.org> | 2025-12-19 02:23:24 +0000 |
|---|---|---|
| committer | nathan <nathansmith@disroot.org> | 2025-12-19 02:23:24 +0000 |
| commit | e4acecf8cebacbcbb6b7739aff7f34fd0147ed45 (patch) | |
| tree | 90f266e8aee4b94682c318e9bc77ef6b1e034556 /src/ui.c | |
| parent | 8394a306ed1d8dfdc9ca72e4c2c7888a4b79c576 (diff) | |
| download | FindThings-e4acecf8cebacbcbb6b7739aff7f34fd0147ed45.tar.gz FindThings-e4acecf8cebacbcbb6b7739aff7f34fd0147ed45.tar.bz2 FindThings-e4acecf8cebacbcbb6b7739aff7f34fd0147ed45.zip | |
So little yet so much
Diffstat (limited to 'src/ui.c')
| -rw-r--r-- | src/ui.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -35,6 +35,11 @@ void hideInteractionChat(InteractionChat* chat) chat->visible = false; } +void setInteractionChat(InteractionChat* chat, const char* text) +{ + strncpy(chat->text, text, INTERACTION_CHAT_MAX * sizeof(char) - 1); +} + void writeToInteractionChat(InteractionChat* chat, const char* text) { strncat(chat->text, text, INTERACTION_CHAT_MAX * sizeof(char) - 1); |
