From 8f4656b7920d37b3f1df5944dfe9307264a52f0b Mon Sep 17 00:00:00 2001 From: Ian C Date: Sat, 13 Jun 2026 17:19:51 +0100 Subject: Reorganised tape files a bit and select one if none selected when patch is hit --- src/util.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index 922f641..c82169e 100644 --- a/src/util.h +++ b/src/util.h @@ -47,6 +47,13 @@ void *Realloc(void *p, size_t size); char *StrCopy(const char *source); +/* Safely copies a string. The destination is returned. +*/ +char *SafeStrCopy(char *destination, + const char *source, + size_t destination_size); + + /* Returns the filename portion of path. Note returned pointer is pointing inside of path. */ -- cgit v1.3