projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make route group master a real property.
[ardour.git]
/
libs
/
ardour
/
tape_file_matcher.cc
diff --git
a/libs/ardour/tape_file_matcher.cc
b/libs/ardour/tape_file_matcher.cc
index 9661ccf66251475cb4d8f144bbcd7bf52553dbde..0f8594d7317d477fee2f48a6d82577b9f66ae1e7 100644
(file)
--- a/
libs/ardour/tape_file_matcher.cc
+++ b/
libs/ardour/tape_file_matcher.cc
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2007 Tim Mayberry
+ Copyright (C) 2007 Tim Mayberry
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-22,6
+22,8
@@
#include "i18n.h"
#include "i18n.h"
+using namespace std;
+
namespace {
const char* const tape_file_regex_string = X_("/T[0-9][0-9][0-9][0-9]-");
namespace {
const char* const tape_file_regex_string = X_("/T[0-9][0-9][0-9][0-9]-");
@@
-38,9
+40,9
@@
TapeFileMatcher::TapeFileMatcher()
tape_file_regex_string, REG_EXTENDED|REG_NOSUB)))
{
char msg[256];
tape_file_regex_string, REG_EXTENDED|REG_NOSUB)))
{
char msg[256];
-
+
regerror (err, &m_compiled_pattern, msg, sizeof (msg));
regerror (err, &m_compiled_pattern, msg, sizeof (msg));
-
+
PBD::error << string_compose (_("Cannot compile tape track regexp for use (%1)"), msg) << endmsg;
// throw
}
PBD::error << string_compose (_("Cannot compile tape track regexp for use (%1)"), msg) << endmsg;
// throw
}