Browse Source

added default value in gt comparison

main
deicidus 2 years ago
parent
commit
bd2f6f965d
  1. 2
      spells/cantrips/menu

2
spells/cantrips/menu

@ -55,7 +55,7 @@ done
# Make sure the menu items don't wrap, multiline menu items are not supported # Make sure the menu items don't wrap, multiline menu items are not supported
window_width=$(fathom-terminal -w) window_width=$(fathom-terminal -w)
if [ ${max_name_length:0} -gt ${window_width:80} ]; then if [ "${max_name_length:0}" -gt "${window_width:80}" ]; then
max_name_length=$window_width max_name_length=$window_width
fi fi

Loading…
Cancel
Save