cleanup
This commit is contained in:
10
src/streq.hh
Normal file
10
src/streq.hh
Normal file
@@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
namespace psxsplash {
|
||||
|
||||
inline bool streq(const char* a, const char* b) {
|
||||
while (*a && *a == *b) { a++; b++; }
|
||||
return *a == *b;
|
||||
}
|
||||
|
||||
} // namespace psxsplash
|
||||
Reference in New Issue
Block a user