Browse Source

Change an error message

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.2.0-RC1
falkTX 4 years ago
parent
commit
09370ae456
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      source/backend/plugin/CarlaPluginVST2.cpp
  2. +2
    -2
      source/utils/CarlaUtils.hpp

+ 1
- 1
source/backend/plugin/CarlaPluginVST2.cpp View File

@@ -1917,7 +1917,7 @@ protected:
if (pData->param.count == 0) if (pData->param.count == 0)
break; break;
} else { } else {
CARLA_SAFE_ASSERT_BREAK(pData->enabled);
CARLA_CUSTOM_SAFE_ASSERT_BREAK("audioMasterAutomate while disabled", pData->enabled);
} }


// plugins should never do this: // plugins should never do this:


+ 2
- 2
source/utils/CarlaUtils.hpp View File

@@ -1,6 +1,6 @@
/* /*
* Carla common utils * Carla common utils
* Copyright (C) 2011-2016 Filipe Coelho <falktx@falktx.com>
* Copyright (C) 2011-2020 Filipe Coelho <falktx@falktx.com>
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as * modify it under the terms of the GNU General Public License as
@@ -258,7 +258,7 @@ static inline
void carla_custom_safe_assert(const char* const message, void carla_custom_safe_assert(const char* const message,
const char* const assertion, const char* const file, const int line) noexcept const char* const assertion, const char* const file, const int line) noexcept
{ {
carla_stderr2("%s, condition \"%s\" in file %s, line %i", message, assertion, file, line);
carla_stderr2("Carla assertion failure: %s, condition \"%s\" in file %s, line %i", message, assertion, file, line);
} }


// -------------------------------------------------------------------------------------------------------------------- // --------------------------------------------------------------------------------------------------------------------


Loading…
Cancel
Save