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;