mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-11 00:56:33 +01:00
Improve error message
This commit is contained in:
parent
bb12ac8ec8
commit
1b6ba4d71d
1 changed files with 1 additions and 1 deletions
|
|
@ -2601,7 +2601,7 @@ EngineControl::get_buffer_size () const
|
||||||
uint32_t samples;
|
uint32_t samples;
|
||||||
|
|
||||||
if (sscanf (txt.c_str (), "%d", &samples) != 1) {
|
if (sscanf (txt.c_str (), "%d", &samples) != 1) {
|
||||||
fprintf (stderr, "Find a trout and repeatedly slap the nearest C++ who throws exceptions without catching them.\n");
|
fprintf (stderr, "Find a trout and repeatedly slap the nearest C++ developer who throws exceptions without catching them.\n");
|
||||||
fprintf (stderr, "Ardour will likely crash now, giving you time to get the trout.\n");
|
fprintf (stderr, "Ardour will likely crash now, giving you time to get the trout.\n");
|
||||||
throw exception ();
|
throw exception ();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue