Skip to content

Commit

Permalink
Fixed: idk, some white space bs
Browse files Browse the repository at this point in the history
  • Loading branch information
zakarouf committed Dec 22, 2024
1 parent 86a6542 commit 50406e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/string.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ int z__String_cmp(z__String const *s1, z__String const *s2);
/**
* Append a string of length provided, into the str. Auto re-allocates if required
*/
z__String* z__Strint_append_str(z__String *str, const z__char *src, z__u32 length);
z__String* z__String_append_str(z__String *str, const z__char *src, z__u32 length);

/**
* Append a formated string provided similar to sprintf
Expand Down
2 changes: 1 addition & 1 deletion src/lib/z__string.c
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ void z__String_replaceStr(z__String *str, const char * s, int len)
str->data[str->lenUsed] = 0;
}

z__String* z__Strint_append_str(z__String *str, const z__char *src, z__u32 length)
z__String* z__String_append_str(z__String *str, const z__char *src, z__u32 length)
{
if((str->len - str->lenUsed) > length){
z__String_expand(str, length + 2);
Expand Down

0 comments on commit 50406e3

Please sign in to comment.