mirror of
https://github.com/henrypp/simplewall.git
synced 2026-10-21 10:40:27 -05:00
cosmetics
This commit is contained in:
2 files changed
+5
-3
No files matched your search
+4
-2
@@ -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
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user