mirror of
https://github.com/glest/glest-source.git
synced 2025-08-23 00:12:49 +02:00
- updated announcement to use a safer compare and added announcement url to ini files
This commit is contained in:
@@ -304,6 +304,10 @@ bool isdir(const char *path)
|
||||
return ret;
|
||||
}
|
||||
|
||||
bool StartsWith(const std::string &str, const std::string &key) {
|
||||
return str.find(key) == 0;
|
||||
}
|
||||
|
||||
bool EndsWith(const string &str, const string& key)
|
||||
{
|
||||
bool result = false;
|
||||
|
Reference in New Issue
Block a user