comments and <\"> fixed

This commit is contained in:
2022-03-09 00:37:55 +03:00
parent 3cb878c75f
commit 8819853e15
6 changed files with 51 additions and 21 deletions

View File

@@ -70,7 +70,7 @@ bool string_compare(string str0, string str1){
//creates new string which is reversed variant of <s>
string string_reverse(string s){
string r={malloc(s.length), s.length};
for(uint32 i; i<s.length; i++)
for(uint32 i=0; i<s.length; i++)
r.ptr[i]=s.ptr[s.length-i-1];
return r;
}