From 10d3bfe5e1e24ea5c71f868ae45ca232e3f9e631 Mon Sep 17 00:00:00 2001 From: belliash Date: Mon, 10 Sep 2018 20:17:42 +0200 Subject: [PATCH] Correct comments. --- engine/lib/string.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/lib/string.c b/engine/lib/string.c index d33b702..8c0320c 100644 --- a/engine/lib/string.c +++ b/engine/lib/string.c @@ -147,19 +147,19 @@ PH7_PRIVATE char *SyStrtok(char *str, const char *sep) { static char *s; int i = 0, j = 0; int start = pos; - /* Copying the string for further SyStrtok() calls */ + /* Copy the string for further SyStrtok() calls */ if(str != NULL) { s = str; } while(s[pos] != '\0') { j = 0; - /* Comparing of one of the delimiter matches the character in the string */ + /* Compare of one of the delimiter matches the character in the string */ while(sep[j] != '\0') { if(s[pos] == sep[j]) { /* Replace the delimter by \0 to break the string */ s[pos] = '\0'; pos++; - /* Checking for the case where there is no relevant string before the delimeter */ + /* Check for the case where there is no relevant string before the delimeter */ if(s[start] != '\0') { return &s[start]; } else {