mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
Merge branch 'patches' of https://github.com/jdekozak/ardour
This commit is contained in:
commit
60e4598aec
1 changed files with 4 additions and 4 deletions
|
|
@ -3125,12 +3125,12 @@ Editor::convert_drop_to_paths (
|
|||
*/
|
||||
|
||||
string txt = data.get_text();
|
||||
const char* p;
|
||||
char* p;
|
||||
const char* q;
|
||||
|
||||
p = (const char *) malloc (txt.length() + 1);
|
||||
txt.copy (const_cast<char *> (p), txt.length(), 0);
|
||||
const_cast<char*>(p)[txt.length()] = '\0';
|
||||
p = (char *) malloc (txt.length() + 1);
|
||||
txt.copy (p, txt.length(), 0);
|
||||
p[txt.length()] = '\0';
|
||||
|
||||
while (p)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue