From d68b35036075517b9aa8c83ff69ed282ccbea0e5 Mon Sep 17 00:00:00 2001 From: Taldariner <71024372+Taldariner@users.noreply.github.com> Date: Thu, 6 Feb 2025 17:01:11 +0200 Subject: [PATCH] Apps/sysmon: fixed wrong encoding and simplified boolean comparsion --- programs/cmm/sysmon/sysmon.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/programs/cmm/sysmon/sysmon.c b/programs/cmm/sysmon/sysmon.c index 77f95fbcc3..c60cab6634 100644 --- a/programs/cmm/sysmon/sysmon.c +++ b/programs/cmm/sysmon/sysmon.c @@ -38,16 +38,16 @@ #define BOTPANEL_H 36 #ifdef LANG_RUS - #define T_APP_TITLE "���⥬�� ������ 1.42" - #define T_SHOW_SYSTEM "���⥬��" - #define T_DETAILS "���஡���" - #define T_PROC_KILL "����� ������" - #define T_PROC_INFO "���" - #define T_PROC_HEADER "����� ��� �� �� %" - #define T_CPU_LOAD "����㧪� ������ %i%% " - #define T_RAM_USAGE "������ ���: %i �� ᢮����� �� %i ��" - #define T_RD_USAGE "���⥬�� ���: %i �� ᢮����� �� 1.4 ��" - #define T_TMP_USAGE "TMP%i ���: %i �� ᢮����� �� %i ��" + #define T_APP_TITLE "⥬ 1.42" + #define T_SHOW_SYSTEM "⥬" + #define T_DETAILS "஡" + #define T_PROC_KILL " " + #define T_PROC_INFO "" + #define T_PROC_HEADER " %" + #define T_CPU_LOAD "㧪 %i%% " + #define T_RAM_USAGE " : %i ᢮ %i " + #define T_RD_USAGE "⥬ : %i ᢮ 1.4 " + #define T_TMP_USAGE "TMP%i : %i ᢮ %i " #else #define T_APP_TITLE "System Monitor 1.42" #define T_SHOW_SYSTEM "System" @@ -230,7 +230,7 @@ void Processes__GetProcessList() GetProcessInfo(#Process, i); if (Process.status_slot != TSTATE_FREE) { - if (show_system.checked==false) + if (!show_system.checked) { //do not show system process if (Process.name[0]=='@') continue;