Skip to content

Commit

Permalink
Update undo buffer before swapping chars
Browse files Browse the repository at this point in the history
  • Loading branch information
viler-int10h committed Sep 27, 2020
1 parent fcad322 commit 3b404b7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion EDITOR.inc
Original file line number Diff line number Diff line change
Expand Up @@ -894,7 +894,8 @@
jne @f ; same char? do nothing
ret

@@: push ax ;1; ; save character codes
@@: call font_update_undo_buf
push ax ;1; ; save character codes
mov bp, .copy
call font_point_to_char ; SI-> font;
mov bx, di ; BX-> currchar
Expand Down
3 changes: 3 additions & 0 deletions FRAPT.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,9 @@ needed. But, for the sake of completeness...
VERSION HISTORY
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

v1.11 (2020-09-27):
* Bugfix: undo works correctly after swapping characters

v1.1 (2020-09-12):
* Fixed garbled UI font with some video BIOSes (Tseng Labs ET4000)
+ Preview: Added tiled view of the currently selected character
Expand Down
2 changes: 1 addition & 1 deletion FRAPT.asm
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ org 100h
dw att.prog_name
db 'Fontraption ',0
dw att.version
db ' v1.1',0
db ' v1.11',0
dw att.ver_separator
db ' � ',0
dw att.ver_date
Expand Down
2 changes: 1 addition & 1 deletion SCREEN.inc
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@
call draw_attr_asc0
mov al, 0B3h ; '³' vertical line
stosb
mov di, 63*2 ; spaces before version string
mov di, 62*2 ; spaces before version string
stosb
inc di
mov cl, 3
Expand Down

0 comments on commit 3b404b7

Please sign in to comment.