From dc1ebb291a75a9a843c0d3c2212028189e0c76d4 Mon Sep 17 00:00:00 2001 From: turbocat Date: Wed, 9 Jun 2021 02:43:41 +0000 Subject: [PATCH] thashview 2.6.2 Fixed ridiculous bug with copy buttons git-svn-id: svn://kolibrios.org@8785 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/other/TinyHashView/thashview.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/programs/other/TinyHashView/thashview.c b/programs/other/TinyHashView/thashview.c index ef2961bf8f..d059591723 100644 --- a/programs/other/TinyHashView/thashview.c +++ b/programs/other/TinyHashView/thashview.c @@ -15,7 +15,7 @@ #define FALSE 0; #define MAX_HASH_LEN 65 // Максимальная длина строки #define WINDOW_W 665 -#define VERSION "%s - thashview 2.6.1" +#define VERSION "%s - thashview 2.6.2" #define EDIT_TEXT_SIZE 0x10000000 #define DATA(type, addr, offset) *((type*)((uint8_t*)addr+offset)) @@ -180,8 +180,8 @@ void redraw_window() // _ksys_define_button(610, 30, 42, 20, BTN_COPY_MD5, sys_color_table.work_button); // Определяем кнопки для копирования - _ksys_define_button(610, 60, 42, 20, BTN_COPY_MD5, sys_color_table.work_button); - _ksys_define_button(610, 90, 42, 20, BTN_COPY_MD5, sys_color_table.work_button); + _ksys_define_button(610, 60, 42, 20, BTN_COPY_SHA1, sys_color_table.work_button); + _ksys_define_button(610, 90, 42, 20, BTN_COPY_SHA256, sys_color_table.work_button); _ksys_draw_text("Copy", 615, 34, 0, 0x90000000 | sys_color_table.work_button_text); // Пишем copy на всех кнопках для копирования _ksys_draw_text("Copy", 615, 64, 0, 0x90000000 | sys_color_table.work_button_text); @@ -368,5 +368,5 @@ int main(int argc, char** argv) break; } }while(1); - exit(0); + return 0; }