Commit 0fcc28a1 authored by Max Kellermann's avatar Max Kellermann

util/String{Compare,API}: indent with tabs

parent ab8005f0
...@@ -106,11 +106,11 @@ static inline char * ...@@ -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 @@ ...@@ -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 @@ ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment