mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-23 07:06:23 +01:00
ogg/flac support bits and pieces; fix up MIDI note dragging and front-edge trims; BROKEN IN PERCUSSIVE MODE FOR NOW
git-svn-id: svn://localhost/ardour2/branches/3.0@5745 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
77364b0e25
commit
aefcce1c99
24 changed files with 147 additions and 68 deletions
|
|
@ -517,16 +517,7 @@ string_is_affirmative (const std::string& str)
|
|||
{
|
||||
/* to be used only with XML data - not intended to handle user input */
|
||||
|
||||
if (str == "1" || str == "y" || str == "Y") {
|
||||
return true;
|
||||
} else {
|
||||
std::string str_uc;
|
||||
std::transform(str.begin(), str.end(), str_uc.begin(), ::toupper);
|
||||
if (str_uc == "YES") {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
return str == "1" || str == "y" || str == "Y" || (!g_strncasecmp(str.c_str(), "yes", str.length()));
|
||||
}
|
||||
|
||||
extern "C" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue