Skip to content

Commit

Permalink
fixing xfontsel dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
mittelmark committed Aug 20, 2024
1 parent 10c818c commit 028a636
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion jasspa/macros/me.emf
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
define-macro-file format clean sort-lines-ignore-case normal-tab tabs-to-spaces paragraph-to-line delete-indentation restyle-region restyle-buffer ifill-paragraph indent-increase indent-decrease
define-macro-file clearcs cc-state cc-update cc-checkout cc-checkin cc-add cc-diff cc-uncheckout cc-annotate cc-describe cc-delete cc-move cc-merge cc-vtree cc-explorer cc-add-view cc-setup
define-macro-file cvs cvs cvs-setup cvs-add cvs-annotate cvs-checkout cvs-commit cvs-diff cvs-gdiff cvs-log cvs-remove cvs-resolve-conflicts cvs-state cvs-status cvs-tag cvs-update
define-macro-file git git git-add git-checkout git-commit git-diff git-grep git-log git-pull git-rm git-state git-status git-tag
define-macro-file git git git-add git-branch git-checkout git-commit git-diff git-grep git-log git-mv git-pull git-rm git-state git-status git-tag
define-macro-file osdmisc insert-symbol buffer-setup alarm browse alias-path-setup file-type-setup file-tool-setup file-tool-menu shell-tool-setup find-setup
define-macro-file tools compile which diff rdiff xdiff diff-changes execute-tool uniq find-bfile find-cfile reread-file reread-all save-kbd-macro
define-macro-file misc save-all encase open-line check-line-length number-items time compare-windows-exact display-whitespaces write-region execute-region
Expand Down
8 changes: 4 additions & 4 deletions jasspa/macros/unixterm.emf
Original file line number Diff line number Diff line change
Expand Up @@ -195,12 +195,12 @@ set-variable .change-font.xfontsel 0
beginning-of-buffer
search-buffer "me" "^-"
!if $status
set-variable .xfontsel.font @wl
!if &equ &sin "-*-*" .xfontsel.font 1
set-variable .change-font.xfontsel-font @wl
!if &equ &sin "-*-*" .change-font.xfontsel-font 1
1000 ml-write "No font selected!"
!return
!endif
!if &xse .xfontsel.font "\\(-[^-]*-[^-]*-[^-]*-[^-]*-\\)[^-]*-[^-]*-\\([^-]*\\)-[^-]*-[^-]*\\(-[^-]*-\\)[^-]*\\(-.*\\)"
!if &xse .change-font.xfontsel-font "\\(-[^-]*-[^-]*-[^-]*-[^-]*-\\)[^-]*-[^-]*-\\([^-]*\\)-[^-]*-[^-]*\\(-[^-]*-\\)[^-]*\\(-.*\\)"
set-variable .change-font.sz-font &spr "%s*-*-%%d-*-*%s*%s" @s1 @s3 @s4
!if &seq @s2 "*"
!if &not &exi .change-font.sz-size
Expand Down Expand Up @@ -231,7 +231,7 @@ set-variable .change-font.xfontsel 0
!endif
!else
; should be not reached
change-font .xfontself.font
change-font .change.font.xfontsel-font
set-variable .change-font.sz-font ""
!endif
!else
Expand Down

0 comments on commit 028a636

Please sign in to comment.