Remove useless NULL string '' in compound strings. Look very closely.
This commit is contained in:
parent
7bec1a4c78
commit
bc3f5ec90b
@ -165,7 +165,7 @@ f_keymap_get_all()
|
||||
marks[keym] = mark
|
||||
name = keym
|
||||
gsub(/[^[:alnum:]_]/, "_", name)
|
||||
gsub(/'\''/, "'\''\\'\'''\''", desc);
|
||||
gsub(/'\''/, "'\''\\'\'\''", desc);
|
||||
printf "f_keymap_checkfile %s && " \
|
||||
"f_keymap_register %s '\'%s\'' %s %u\n",
|
||||
keym, name, desc, keym, mark
|
||||
|
@ -104,7 +104,7 @@ f_make_menus_awk='
|
||||
function add_zone_n_to_country_menu(tlc, n)
|
||||
{
|
||||
zone_title = ENVIRON["country_" tlc "_descr_" n]
|
||||
gsub(/'\''/, "'\''\\'\'''\''", zone_title)
|
||||
gsub(/'\''/, "'\''\\'\'\''", zone_title)
|
||||
country_menu_list[tlc] = country_menu_list[tlc] \
|
||||
( length(country_menu_list[tlc]) > 0 ? "\n" : "" ) \
|
||||
n " '\''" zone_title "'\''"
|
||||
@ -121,7 +121,7 @@ BEGIN {
|
||||
{
|
||||
tlc = countries[cp]
|
||||
title = ENVIRON["country_" tlc "_name"]
|
||||
gsub(/'\''/, "'\''\\'\'''\''", title)
|
||||
gsub(/'\''/, "'\''\\'\'\''", title)
|
||||
nzones = ENVIRON["country_" tlc "_nzones"]
|
||||
if (!nzones)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user