mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibGUI: Fix group name columns in FileSystemModel
This commit is contained in:
committed by
Andreas Kling
parent
6d66462254
commit
c69686f1b2
@@ -233,10 +233,10 @@ String FileSystemModel::name_for_uid(uid_t uid) const
|
||||
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);
|
||||
if (it == m_user_names.end())
|
||||
auto it = m_group_names.find(gid);
|
||||
if (it == m_group_names.end())
|
||||
return String::number(gid);
|
||||
return (*it).value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user