From 273fe867a74c0683dcbf10d92c01bd853c0d424b Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Tue, 30 Oct 2018 15:09:41 +0000 Subject: [PATCH] ftpc: restrict cursor move to existing nodes git-svn-id: svn://kolibrios.org@7509 a494cfbc-eb01-0410-851d-a64ba20cac60 --- data/common/settings/games.ini | 2 +- data/rus/settings/games.ini | 2 +- programs/network/ftpc/ftpc.asm | 2 +- programs/network/ftpc/gui.inc | 5 ++++- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/data/common/settings/games.ini b/data/common/settings/games.ini index 762de5332..7a52fdcab 100644 --- a/data/common/settings/games.ini +++ b/data/common/settings/games.ini @@ -40,7 +40,7 @@ Loderunner=/k/games/LRL/LRL,41 BabyPainter=/k/games/BabyPainter,87 Klavisha=games/klavisha,69 Millioneer=/k/games/WHOWTBAM/whowtbam,114 -StarTrack79=/k/games/sstartrek/SStarTrek_en +StarTrek71=/k/games/sstartrek/SStarTrek_en [3D Shooter] Quake=/k/games/quake/sdlquake,56 diff --git a/data/rus/settings/games.ini b/data/rus/settings/games.ini index bf3d13cbf..bc13be182 100644 --- a/data/rus/settings/games.ini +++ b/data/rus/settings/games.ini @@ -40,7 +40,7 @@ Loderunner=/k/games/LRL/LRL,41 BabyPainter=/k/games/BabyPainter,87 Klavisha=games/klavisha,69 Millioneer=/k/games/WHOWTBAM/whowtbam,114 -StarTrack79=/k/games/sstartrek/SStarTrek_ru +StarTrek71=/k/games/sstartrek/SStarTrek_ru [3D Shooter] Quake=/k/games/quake/sdlquake,56 diff --git a/programs/network/ftpc/ftpc.asm b/programs/network/ftpc/ftpc.asm index e7d70c015..a527ff64a 100644 --- a/programs/network/ftpc/ftpc.asm +++ b/programs/network/ftpc/ftpc.asm @@ -750,7 +750,7 @@ exit2: ; data str_title db 'FTP client for KolibriOS',0 -str_welcome db 'FTP client for KolibriOS v0.15a',10 +str_welcome db 'FTP client for KolibriOS v0.15b',10 db 10,0 str_srv_addr db 'Please enter ftp server address.',10,0 diff --git a/programs/network/ftpc/gui.inc b/programs/network/ftpc/gui.inc index 4a88b12fa..a7a4f169d 100755 --- a/programs/network/ftpc/gui.inc +++ b/programs/network/ftpc/gui.inc @@ -73,7 +73,10 @@ gui: ;////////////////////////////////////////////////////////////////////////// ; initialize tree list elements stdcall dword[tl_data_init], tree1 stdcall dword[tl_data_init], tree2 - + + or dword[tree1.style], 8 ;tl_cursor_pos_limited - restrict cursor move to existing nodes + or dword[tree2.style], 8 ;tl_cursor_pos_limited + ; read icons load_image_file 'tl_sys_16.png', icon_tl_sys