mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 14:02:57 +02:00
Include tips in command list.
This commit is contained in:
committed by
Paul Licameli
parent
5c2f35d96f
commit
1551a5a073
@@ -56,6 +56,8 @@ void CommandMessageTarget::EndStruct(){
|
||||
Update( " }" );
|
||||
}
|
||||
void CommandMessageTarget::AddItem(const wxString &value, const wxString &name){
|
||||
wxString Temp = value;
|
||||
Temp.Replace("\"", "\\\"");// escape spaces.
|
||||
Update( wxString::Format( "%s%s%s\"%s\"", (mCounts.Last()>0)?", ":"", name, !name.IsEmpty()?":":"",value));
|
||||
mCounts.Last() += 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user