From ffab6897aa1bc668f98130b4bb485a4602509938 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 31 Jan 2019 17:31:23 +0100 Subject: Big, possibly complete sweep of naming changes. --- LibC/string.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'LibC/string.cpp') diff --git a/LibC/string.cpp b/LibC/string.cpp index 1929bf282c..6923a17a4c 100644 --- a/LibC/string.cpp +++ b/LibC/string.cpp @@ -190,21 +190,21 @@ char* strrchr(const char* str, int ch) char* strcat(char *dest, const char *src) { - size_t destLength = strlen(dest); + size_t dest_length = strlen(dest); size_t i; for (i = 0 ; src[i] != '\0' ; i++) - dest[destLength + i] = src[i]; - dest[destLength + i] = '\0'; + dest[dest_length + i] = src[i]; + dest[dest_length + i] = '\0'; return dest; } char* strncat(char *dest, const char *src, size_t n) { - size_t destLength = strlen(dest); + size_t dest_length = strlen(dest); size_t i; for (i = 0 ; i < n && src[i] != '\0' ; i++) - dest[destLength + i] = src[i]; - dest[destLength + i] = '\0'; + dest[dest_length + i] = src[i]; + dest[dest_length + i] = '\0'; return dest; } -- cgit v1.2.3