diff --git a/libs/string.h b/libs/string.h index cfd8c1b..996c079 100644 --- a/libs/string.h +++ b/libs/string.h @@ -32,8 +32,8 @@ void strSet(string* s, char* str_new) { *s = realloc(*s, strlen(str_new) + nulTerm); strcpy(*s, str_new); } -void strCopy(string* src, string* dst) { - strcpy(*src, *dst); +void strCopy(string* dst, string* src) { + strcpy(*dst, *src); } // -------------- END ------------------