mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Use updated temporal API 2/2
This commit is contained in:
parent
60be0c27a1
commit
3c03e4951e
16 changed files with 48 additions and 48 deletions
|
|
@ -612,7 +612,7 @@ EditorSources::format_position (timepos_t const & pos, char* buf, size_t bufsize
|
|||
Temporal::BBT_Time bbt;
|
||||
Timecode::Time timecode;
|
||||
|
||||
if (pos.negative()) {
|
||||
if (pos.is_negative ()) {
|
||||
error << string_compose (_("EditorSources::format_position: negative timecode position: %1"), pos) << endmsg;
|
||||
snprintf (buf, bufsize, "invalid");
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue