mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 11:13:44 +01:00
Homebrew Store: Fetch license and website URL. Add buttons to go to website and look up license info.
This commit is contained in:
1 parent
e82f6e5333
commit
d0ab095b1d
4 files changed
+47
-4
No files matched your search
@@ -171,6 +171,14 @@ std::string IndentString(const std::string &str, const std::string &sep, bool sk
|
||||
return output.str();
|
||||
}
|
||||
|
||||
std::string_view StripPrefix(std::string_view prefix, std::string_view s) {
|
||||
if (startsWith(s, prefix)) {
|
||||
return s.substr(prefix.size(), s.size() - prefix.size());
|
||||
} else {
|
||||
return s;
|
||||
}
|
||||
}
|
||||
|
||||
void SkipSpace(const char **ptr) {
|
||||
while (**ptr && isspace(**ptr)) {
|
||||
(*ptr)++;
|
||||
|
||||
Reference in new issue
Block a user