cosmetics

This commit is contained in:
henrypp committed 2026-08-09 22:43:46 +05:00
1 parent 66f7bbea5e
commit 893b99a5c0
2 files changed
+5 -3

No files matched your search

+4 -2
View File
@@ -437,7 +437,7 @@ INT_PTR CALLBACK EditorPagesProc (
HWND hctrl;
ULONG_PTR enum_key;
INT i;
BOOLEAN is_enabled;
BOOLEAN is_enabled, is_forservices;
context = (PEDITOR_CONTEXT)lparam;
@@ -781,7 +781,9 @@ INT_PTR CALLBACK EditorPagesProc (
continue;
// check for services
is_enabled = (((ptr_rule->is_fordriver || ptr_rule->is_forservice) && _app_issystemhash (context->ptr_app->app_hash)) || _r_obj_findhashtable (ptr_rule->apps, context->ptr_app->app_hash));
is_forservices = (ptr_rule->is_fordriver || ptr_rule->is_forservice) && _app_issystemhash (context->ptr_app->app_hash);
is_enabled = is_forservices || _r_obj_findhashtable (ptr_rule->apps, context->ptr_app->app_hash);
_r_listview_additem (hwnd, IDC_APP_RULES_ID, 0, LPSTR_TEXTCALLBACK, I_IMAGECALLBACK, I_GROUPIDCALLBACK, _app_listview_createcontext ((ULONG)i));
_r_listview_setitemcheck (hwnd, IDC_APP_RULES_ID, 0, is_enabled);
+1 -1
View File
@@ -144,7 +144,7 @@ typedef enum _ENUM_INFO_DATA2
#define REBAR_TOOLBAR_ID 0
#define REBAR_SEARCH_ID 1
#define LV_HIDDEN_GROUP_ID 13
#define LV_HIDDEN_GROUP_ID GENERAL_ID
#define STATUSBAR_PARTS_COUNT 3