mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-30 06:01:57 +00:00
LibGUI: Fix group name columns in FileSystemModel
This commit is contained in:
parent
6d66462254
commit
c69686f1b2
Notes:
sideshowbarker
2024-07-19 08:53:39 +09:00
Author: https://github.com/xTibor
Commit: c69686f1b2
Pull-request: https://github.com/SerenityOS/serenity/pull/1350
1 changed files with 3 additions and 3 deletions
|
@ -233,10 +233,10 @@ String FileSystemModel::name_for_uid(uid_t uid) const
|
||||||
return (*it).value;
|
return (*it).value;
|
||||||
}
|
}
|
||||||
|
|
||||||
String FileSystemModel::name_for_gid(uid_t gid) const
|
String FileSystemModel::name_for_gid(gid_t gid) const
|
||||||
{
|
{
|
||||||
auto it = m_user_names.find(gid);
|
auto it = m_group_names.find(gid);
|
||||||
if (it == m_user_names.end())
|
if (it == m_group_names.end())
|
||||||
return String::number(gid);
|
return String::number(gid);
|
||||||
return (*it).value;
|
return (*it).value;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue