mirror of
https://github.com/henrypp/simplewall.git
synced 2026-10-22 02:52:54 -05:00
upd info codes
This commit is contained in:
2 files changed
+8
-3
No files matched your search
+2
-2
@@ -82,8 +82,8 @@ enum EnumXmlType
|
||||
|
||||
enum EnumInfo
|
||||
{
|
||||
InfoPath = 0,
|
||||
InfoName = 1,
|
||||
InfoName = 0,
|
||||
InfoPath = 1,
|
||||
InfoTimestamp = 2,
|
||||
InfoTimer = 3,
|
||||
InfoIconId = 4,
|
||||
|
||||
+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