util/String{Compare,API}: indent with tabs
This commit is contained in:
@@ -106,11 +106,11 @@ static inline char *
|
|||||||
UnsafeCopyStringP(char *dest, const char *src) noexcept
|
UnsafeCopyStringP(char *dest, const char *src) noexcept
|
||||||
{
|
{
|
||||||
#if defined(WIN32) || defined(__BIONIC__)
|
#if defined(WIN32) || defined(__BIONIC__)
|
||||||
/* emulate stpcpy() */
|
/* emulate stpcpy() */
|
||||||
UnsafeCopyString(dest, src);
|
UnsafeCopyString(dest, src);
|
||||||
return dest + StringLength(dest);
|
return dest + StringLength(dest);
|
||||||
#else
|
#else
|
||||||
return stpcpy(dest, src);
|
return stpcpy(dest, src);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -40,7 +40,7 @@
|
|||||||
static inline bool
|
static inline bool
|
||||||
StringIsEmpty(const char *string)
|
StringIsEmpty(const char *string)
|
||||||
{
|
{
|
||||||
return *string == 0;
|
return *string == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
gcc_pure gcc_nonnull_all
|
gcc_pure gcc_nonnull_all
|
||||||
|
@@ -37,7 +37,7 @@
|
|||||||
static inline bool
|
static inline bool
|
||||||
StringIsEmpty(const wchar_t *string)
|
StringIsEmpty(const wchar_t *string)
|
||||||
{
|
{
|
||||||
return *string == 0;
|
return *string == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
gcc_pure
|
gcc_pure
|
||||||
|
Reference in New Issue
Block a user