cmm: fix programs that use copyf

git-svn-id: svn://kolibrios.org@9536 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Serhii Sakhno 2021-12-31 00:19:27 +00:00
parent e4d175d635
commit 3e9224b667
4 changed files with 14 additions and 12 deletions

View File

@ -161,7 +161,6 @@ _DIFFERENT_DRIVES:
} }
path_offset = clipbuf + 10; path_offset = clipbuf + 10;
copy_state = FILE_DEFAULT;
saved_state = FILE_DEFAULT; saved_state = FILE_DEFAULT;
for (j = 0; j < paste_elements_count; j++) { for (j = 0; j < paste_elements_count; j++) {
strcpy(#copy_from, path_offset); strcpy(#copy_from, path_offset);

View File

@ -31,6 +31,7 @@ bool is_remember = false;
{ {
dword error; dword error;
BDVK CopyFile_atr1; BDVK CopyFile_atr1;
copy_state = FILE_DEFAULT;
if (!from1) || (!in1) if (!from1) || (!in1)
{ {

View File

@ -8,20 +8,20 @@
#include "../lib/patterns/restart_process.h" #include "../lib/patterns/restart_process.h"
char logo[] = " char logo[] = "
ÛÛÛÛ ÛÛÛÛ ÛÛÛÛÛÛÛÛÛÛ ÛÛÛÛ ÛÛÛÛ ÛÛÛÛÛÛÛÛÛÛÛ <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
ÛÛÛÛ ÛÛ ÛÛÛ ÛÛÛ ÛÛÛ ÛÛ ÛÛÛ ÛÛ <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EF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FBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
"; ";
#ifdef LANG_RUS #ifdef LANG_RUS
#define T_INTRO "<22>®¯à®¡ã©â¥ ­®¢®¥ ¢¨§ã «ì­®¥ ®ä®à¬«¥­¨¥ Š®«¨¡à¨, ª®â®à®¥ à ­ìè¥ ¡ë«® ¤®áâ㯭® ⮫쪮 ¢ KolibriNext."; #define T_INTRO "<22><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>㠫쭮<E3A0AB> <20><><EFBFBD><E0ACAB><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD>஥ ࠭<><E0A0AD> <20><20><><EFBFBD><EFBFBD><EFBFBD> ⮫쪮 <20> KolibriNext.";
#define T_INSTALL "“áâ ­®¢¨âì" #define T_INSTALL "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
#define T_COMPLETE "“áâ ­®¢ª  § ¢¥à襭 " #define T_COMPLETE "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
#define T_EXIT "‚ë室" #define T_EXIT "<EFBFBD><EFBFBD>"
#else #else
#define T_INTRO "Try a new visual design of KolibriOS, which previously was available only in KolibriNext."; #define T_INTRO "Try a new visual design of KolibriOS, which previously was available only in KolibriNext.";
#define T_INSTALL "Install" #define T_INSTALL "Install"
@ -37,6 +37,7 @@ bool install_complete = false;
void main() void main()
{ {
word btn; word btn;
saved_state = FILE_REPLACE;
load_dll(libini, #lib_init,1); load_dll(libini, #lib_init,1);
loop() switch(WaitEvent()) loop() switch(WaitEvent())
{ {

View File

@ -52,6 +52,7 @@ sensor progress = { 40, WINH-70, WINW-80, 20 };
void main() void main()
{ {
int btn; int btn;
saved_state = FILE_REPLACE;
load_dll(libHTTP, #http_lib_init,1); load_dll(libHTTP, #http_lib_init,1);
SetWindowLayerBehaviour(-1, ZPOS_ALWAYS_TOP); SetWindowLayerBehaviour(-1, ZPOS_ALWAYS_TOP);
@SetEventMask(EVM_REDRAW + EVM_KEY + EVM_BUTTON + EVM_STACK); @SetEventMask(EVM_REDRAW + EVM_KEY + EVM_BUTTON + EVM_STACK);