Codechange: replace StrStartsWith/StrEndsWith with starts_with and ends_with

This commit is contained in:
Rubidium
2024-01-17 06:30:44 +01:00
committed by rubidium42
parent 384b804f9c
commit 2d77cf9c80
16 changed files with 21 additions and 231 deletions

View File

@@ -679,7 +679,7 @@ static const char *MakeScreenshotName(const char *default_fn, const char *ext, b
}
/* Handle user-specified filenames ending in # with automatic numbering */
if (StrEndsWith(_screenshot_name, "#")) {
if (_screenshot_name.ends_with("#")) {
generate = true;
_screenshot_name.pop_back();
}