Tinypad v. 4.0.5

bug-fix:
    - a new tab is created when opening a file from folder of tinypad

git-svn-id: svn://kolibrios.org@592 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Rus 2007-07-26 21:41:48 +00:00
parent e954751c46
commit 0b0dd3e2c5
2 changed files with 5 additions and 2 deletions

View File

@ -19,6 +19,9 @@
; - other bug-fixes and speed/size optimizations ; - other bug-fixes and speed/size optimizations
; ;
; HISTORY: ; HISTORY:
; 4.0.5 (mike.dld and Rus)
; bug-fixes:
; - a new tab is created when opening a file from folder of tinypad
; 4.0.4 (mike.dld) ; 4.0.4 (mike.dld)
; bug-fixes: ; bug-fixes:
; - statusbar contained hint after dialog operation cancelled ; - statusbar contained hint after dialog operation cancelled

View File

@ -194,8 +194,8 @@ func load_file ;//////////////////////////////////////////////////////////////
mov ecx,eax mov ecx,eax
cmp [tab_bar.Items.Count],1 cmp [tab_bar.Items.Count],1
jne @f jne @f
cmp [cur_editor.FilePath],'/' cmp [cur_editor.FilePath],0
je @f jne @f
cmp [cur_editor.Modified],0 cmp [cur_editor.Modified],0
jne @f jne @f
mov ebp,cur_editor mov ebp,cur_editor