cfgapply: also handle non-set commands

This commit is contained in:
Rudolf Polzer 2010-11-30 13:21:50 +01:00
parent d469151867
commit f6925ebc0f

View File

@ -11,8 +11,9 @@ while(<>)
{
chomp;
s/\r//g;
s/\/\/.*//;
if(/^\s*(?:set\s+|seta\s+)(\S+)/)
if(/^\s*(?:set\s+|seta\s+|)(\S+)/)
{
if(exists $cvar2line{$1})
{