mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
bug fix
This commit is contained in:
parent
474ef69496
commit
886f121bc3
1 changed files with 9 additions and 7 deletions
16
bin/adict
16
bin/adict
|
@ -7,11 +7,13 @@ fn event {
|
||||||
# $2 - c2 type of action
|
# $2 - c2 type of action
|
||||||
# $3 - q0 beginning of selection
|
# $3 - q0 beginning of selection
|
||||||
# $4 - q1 end of selection
|
# $4 - q1 end of selection
|
||||||
# $5 - flag
|
# $5 - eq0 beginning of expanded selection
|
||||||
# $6 - nr number of runes in $7
|
# $6 - eq1 end of expanded selection
|
||||||
# $7 - text
|
# $7 - flag
|
||||||
# $8 - chorded argument
|
# $8 - nr number of runes in $7
|
||||||
# $9 - origin of chorded argument
|
# $9 - text
|
||||||
|
# $10 - chorded argument
|
||||||
|
# $11 - origin of chorded argument
|
||||||
|
|
||||||
switch($1$2){
|
switch($1$2){
|
||||||
case E* # write to body or tag
|
case E* # write to body or tag
|
||||||
|
@ -28,9 +30,9 @@ fn event {
|
||||||
case Ml ML # button 3 in tag or body
|
case Ml ML # button 3 in tag or body
|
||||||
{
|
{
|
||||||
if(~ $dict NONE)
|
if(~ $dict NONE)
|
||||||
dictwin /adict/$7/ $7
|
dictwin /adict/$9/ $9
|
||||||
if not
|
if not
|
||||||
dictwin /adict/$dict/$7 $dict $7
|
dictwin /adict/$dict/$9 $dict $9
|
||||||
} &
|
} &
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue