aboutsummaryrefslogtreecommitdiff
path: root/src/relocation.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2024-06-21 12:49:45 -0400
committerGitHub <noreply@github.com>2024-06-21 12:49:45 -0400
commit77a0276d9f37bcf828c77f9bcc59ff945116274e (patch)
tree91cf7cb955798ad40718341172b0a8ffbc59a1f2 /src/relocation.c
parent931ee28eb9c5b5e3c2b0d3008f5f65d810dc9b0c (diff)
downloadstasis-77a0276d9f37bcf828c77f9bcc59ff945116274e.tar.gz
Rebrand OhMyCal (OMC) as STASIS (#7)
Diffstat (limited to 'src/relocation.c')
-rw-r--r--src/relocation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/relocation.c b/src/relocation.c
index 586d1ba..a86530d 100644
--- a/src/relocation.c
+++ b/src/relocation.c
@@ -24,7 +24,7 @@
* @return 0 on success, -1 on error
*/
int replace_text(char *original, const char *target, const char *replacement, unsigned flags) {
- char buffer[OMC_BUFSIZ];
+ char buffer[STASIS_BUFSIZ];
char *pos = original;
char *match = NULL;
size_t original_len = strlen(original);
@@ -104,7 +104,7 @@ int replace_text(char *original, const char *target, const char *replacement, un
*/
int file_replace_text(const char* filename, const char* target, const char* replacement, unsigned flags) {
int result;
- char buffer[OMC_BUFSIZ];
+ char buffer[STASIS_BUFSIZ];
char tempfilename[] = "tempfileXXXXXX";
FILE *fp;
FILE *tfp;