13
0

remove meterstr = "" and replace with fatal <<

git-svn-id: svn://localhost/ardour2/trunk@1461 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
John Anderson 2007-02-14 21:55:07 +00:00
parent e878b36519
commit 1d2ccabfd7

View File

@ -404,7 +404,8 @@ Session::GlobalMeteringStateCommand::get_state()
case MeterPostFader: case MeterPostFader:
meterstr = X_("post"); meterstr = X_("post");
break; break;
default: meterstr = ""; default:
fatal << string_compose (_("programming error: %1") , "no meter state in Session::GlobalMeteringStateCommand::get_state") << endmsg;
} }
child->add_property (X_("meter"), meterstr); child->add_property (X_("meter"), meterstr);