mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
Use more starts_with/ends_with.
Remove ends_with global func.
This commit is contained in:
parent
90f4023cb8
commit
f08c778d2c
11 changed files with 24 additions and 30 deletions
|
|
@ -204,7 +204,7 @@ void user_manager_dialog::UpdateTable(bool mark_only)
|
|||
m_table->setItem(row, 1, username_item);
|
||||
|
||||
// Compare current config value with the one in this user (only 8 digits in userId)
|
||||
if (m_active_user.compare(0, 8, user.second.GetUserId()) == 0)
|
||||
if (m_active_user.starts_with(user.second.GetUserId()))
|
||||
{
|
||||
user_id_item->setFont(bold_font);
|
||||
username_item->setFont(bold_font);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue