forked from osmocom/wireshark
Fix for Bug 9707 'Lua: init.lua has multiple 'MENU_STAT_TELEPHONY' values'
Change-Id: If4ee1906aa60dd37366cf2ef9bc4168e0ea024b6
This commit is contained in:
parent
60a1931beb
commit
f97d6f397c
|
@ -147,7 +147,7 @@ my $menu_i = 0;
|
|||
|
||||
open STAT_MENU, "< $WSROOT/stat_menu.h" or die "cannot open '$WSROOT/stat_menu.h': $!";
|
||||
while(<STAT_MENU>) {
|
||||
if (/REGISTER_([A-Z]+)_GROUP_([A-Z]+)/) {
|
||||
if (/REGISTER_([A-Z]+)_GROUP_([A-Z_]+)/) {
|
||||
$menu_groups .= "MENU_$1_$2 = $menu_i\n";
|
||||
$menu_groups =~ s/_NONE//;
|
||||
$menu_i++;
|
||||
|
|
Loading…
Reference in New Issue