[saco] Change indentation from spaces to tabs in Util_strrev

This commit is contained in:
RD42 2023-11-13 20:28:56 +08:00
parent 3e501c13ac
commit 1f282e9768

View File

@ -138,17 +138,17 @@ int Util_strnicmp(const char *s1, const char *s2, size_t n)
char *Util_strrev(char *str)
{
char *p1, *p2;
char *p1, *p2;
if (! str || ! *str)
return str;
for (p1 = str, p2 = str + strlen(str) - 1; p2 > p1; ++p1, --p2)
{
*p1 ^= *p2;
*p2 ^= *p1;
*p1 ^= *p2;
}
return str;
if (! str || ! *str)
return str;
for (p1 = str, p2 = str + strlen(str) - 1; p2 > p1; ++p1, --p2)
{
*p1 ^= *p2;
*p2 ^= *p1;
*p1 ^= *p2;
}
return str;
}
//----------------------------------------------------