Skip to content

Commit

Permalink
remove STATUS_OBJECT_PATH_NOT_FOUND from message and fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
henrypp committed Oct 14, 2023
1 parent f762eca commit 93c137f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/profile.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,14 +207,21 @@ VOID _app_setappinfo (

case INFO_TIMESTAMP:
{
if (!value)
break;

ptr_app->timestamp = *((PLONG64)value);

break;
}

case INFO_TIMER:
{
LONG64 timestamp;

if (!value)
break;

timestamp = *((PLONG64)value);

// check timer expiration
Expand Down Expand Up @@ -1615,7 +1622,7 @@ VOID _app_profile_load_internal (
}
else
{
if (status != STATUS_OBJECT_NAME_NOT_FOUND)
if (status != STATUS_OBJECT_NAME_NOT_FOUND && status != STATUS_OBJECT_PATH_NOT_FOUND)
{
if (hwnd)
_r_show_errormessage (hwnd, L"Could not load internal profile!", status, NULL);
Expand Down

0 comments on commit 93c137f

Please sign in to comment.