hsmw: More typo-like lackings of % substitution

Issue #12, not directly related, but discovered at time of examining it
This commit is contained in:
Sebastian Gniazdowski 2018-08-04 16:32:17 +02:00
parent ace6f6ee56
commit ce48a53e36

View file

@ -66,7 +66,7 @@ if (( ${+functions[_hsmw_main]} == 0 )); then
# '0' will get changed into $to_display limit # '0' will get changed into $to_display limit
[[ "$WIDGET" = *-word || "$WIDGET" = *-pforwards ]] && __hsmw_hcw_index="1" [[ "$WIDGET" = *-word || "$WIDGET" = *-pforwards ]] && __hsmw_hcw_index="1"
[[ "$WIDGET" = *-backwards || "$WIDGET" = *-pbackwards ]] && __hsmw_hcw_index="0" [[ "$WIDGET" = *-backwards || "$WIDGET" = *-pbackwards ]] && __hsmw_hcw_index="0"
__hsmw_hcw_widget_name="${${${WIDGET%-backwards}-pbackwards}-pforwards}" __hsmw_hcw_widget_name="${${${WIDGET%-backwards}%-pbackwards}%-pforwards}"
__hsmw_hcw_found=( ) __hsmw_hcw_found=( )
__hsmw_hcw_finished="0" __hsmw_hcw_finished="0"
__hsmw_hcw_restart="0" __hsmw_hcw_restart="0"