From ff210fdb616594ce0aa98b553d2e6cd37efcf3d5 Mon Sep 17 00:00:00 2001 From: henrypp Date: Sat, 1 Jun 2024 14:20:30 +0500 Subject: [PATCH] upd _r_str_environmentexpandstring --- src/db.c | 2 +- src/notifications.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/db.c b/src/db.c index 461a8dce..5da64923 100644 --- a/src/db.c +++ b/src/db.c @@ -469,7 +469,7 @@ VOID _app_db_parse_rule ( { _r_str_splitatchar (&sr, DIVIDER_APP[0], &first_part, &sr); - status = _r_str_environmentexpandstring (&first_part, &path_string); + status = _r_str_environmentexpandstring (NULL, &first_part, &path_string); if (!NT_SUCCESS (status)) path_string = _r_obj_createstring2 (&first_part); diff --git a/src/notifications.c b/src/notifications.c index a458d3c6..aaa00166 100644 --- a/src/notifications.c +++ b/src/notifications.c @@ -460,7 +460,7 @@ VOID _app_notify_playsound () if (NT_SUCCESS (status)) { - status = _r_str_environmentexpandstring (&new_path->sr, &expanded_string); + status = _r_str_environmentexpandstring (NULL, &new_path->sr, &expanded_string); if (NT_SUCCESS (status)) _r_obj_movereference (&new_path, expanded_string);