Unexpected colours while bad should only cause failure to annotate, not panic
This commit is contained in:
parent
e23c6de373
commit
7e6c637ec3
|
@ -2049,7 +2049,7 @@ void Image::Annotate( const char *p_text, const Coord &coord, const unsigned int
|
|||
}
|
||||
|
||||
} else {
|
||||
Panic("Annotate called with unexpected colours: %d",colours);
|
||||
Error("Annotate called with unexpected colours: %d", colours);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue