From ffbdc4ba1d414a71d0b4b570ae6bf7fe43887968 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Fri, 25 Nov 2016 16:03:34 +0000 Subject: [PATCH] fix TXTREAD path git-svn-id: svn://kolibrios.org@6761 a494cfbc-eb01-0410-851d-a64ba20cac60 --- data/eng/settings/icon.ini | 2 +- data/et/settings/icon.ini | 2 +- data/it/settings/icon.ini | 2 +- data/rus/settings/icon.ini | 2 +- data/sp/settings/icon.ini | 2 +- programs/cmm/lib/kolibri.h | 2 +- programs/other/graph/hello.cpp | 6 +++--- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/data/eng/settings/icon.ini b/data/eng/settings/icon.ini index 40e0625d02..c371c692bb 100644 --- a/data/eng/settings/icon.ini +++ b/data/eng/settings/icon.ini @@ -230,7 +230,7 @@ x=-203 y=68 [20] name=TEXTREADER -path=TEXTREADER +path=/sys/txtread param= ico=85 x=136 diff --git a/data/et/settings/icon.ini b/data/et/settings/icon.ini index f5e7753235..f03b4a0fd3 100644 --- a/data/et/settings/icon.ini +++ b/data/et/settings/icon.ini @@ -229,7 +229,7 @@ x=-203 y=68 [20] name=TEXTREADER -path=TEXTREADER +path=/sys/txtread param= ico=85 x=136 diff --git a/data/it/settings/icon.ini b/data/it/settings/icon.ini index 40e0625d02..c371c692bb 100644 --- a/data/it/settings/icon.ini +++ b/data/it/settings/icon.ini @@ -230,7 +230,7 @@ x=-203 y=68 [20] name=TEXTREADER -path=TEXTREADER +path=/sys/txtread param= ico=85 x=136 diff --git a/data/rus/settings/icon.ini b/data/rus/settings/icon.ini index 0e76bba434..9fab1aefaf 100644 --- a/data/rus/settings/icon.ini +++ b/data/rus/settings/icon.ini @@ -230,7 +230,7 @@ x=-203 y=68 [20] name=TEXTREADER -path=TEXTREADER +path=/sys/txtread param= ico=85 x=136 diff --git a/data/sp/settings/icon.ini b/data/sp/settings/icon.ini index 40e0625d02..c371c692bb 100644 --- a/data/sp/settings/icon.ini +++ b/data/sp/settings/icon.ini @@ -230,7 +230,7 @@ x=-203 y=68 [20] name=TEXTREADER -path=TEXTREADER +path=/sys/txtread param= ico=85 x=136 diff --git a/programs/cmm/lib/kolibri.h b/programs/cmm/lib/kolibri.h index 97a19bd6ac..162a33b72b 100644 --- a/programs/cmm/lib/kolibri.h +++ b/programs/cmm/lib/kolibri.h @@ -608,7 +608,7 @@ dword __generator; // random number generator - //The initialization of the initial data before running void ______INIT______() { - if (program_path[0]!='/') I_Path++; + //if (program_path[0]!='/') I_Path++; self.dir = #__BUF_DIR__; self.file = 0; diff --git a/programs/other/graph/hello.cpp b/programs/other/graph/hello.cpp index 59c949c9dc..989edb6e38 100644 --- a/programs/other/graph/hello.cpp +++ b/programs/other/graph/hello.cpp @@ -10,8 +10,8 @@ const char str_filename[]="Filename:"; const char str_editfile[]="Edit"; // начальные размеры -#define WND_W 400 -#define WND_H 300 +#define WND_W 600 +#define WND_H 470 #define LIGHTGREEN 0xff0000 #define WHITE 0xffffff @@ -46,7 +46,7 @@ char *funct = NULL; char edit_path[1024]; //Dword editbox_y = WND_H - 16, editbox_w = WND_W - 70; -edit_box mybox = {0,9*8-5,WND_H - 16-32,0xffffff,0x6a9480,0,0x808080,0,512,(dword)&edit_path, 64}; +edit_box mybox = {0,9*8-5,WND_H - 16-32,0xffffff,0x6a9480,0,0x808080,0x10000000,sizeof(edit_path),(dword)&edit_path, 64, 100000000000010b}; char *full_head;