mirror of
https://github.com/henrypp/simplewall.git
synced 2026-10-22 11:03:28 -05:00
upd info codes
This commit is contained in:
2 files changed
+8
-3
No files matched your search
+6
-1
@@ -15,7 +15,12 @@ LONG_PTR _app_getappinfo (size_t app_hash, EnumInfo info_key)
|
||||
|
||||
if (ptr_app)
|
||||
{
|
||||
if (info_key == InfoName)
|
||||
if (info_key == InfoPath)
|
||||
{
|
||||
if (!_r_str_isempty (ptr_app->real_path))
|
||||
result = (LONG_PTR)ptr_app->real_path;
|
||||
}
|
||||
else if (info_key == InfoName)
|
||||
{
|
||||
if (!_r_str_isempty (ptr_app->display_name))
|
||||
result = (LONG_PTR)ptr_app->display_name;
|
||||
|
||||
Reference in new issue
Block a user