mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-19 22:48:01 +02:00
2021-04-05 Fred Gleason <fredg@paravelsystems.com>
* Added a workaround to 'RDCart::updateLength()' to prevent invalid data values from being written to the 'CART.MINIMUM_TALK_LENGTH' field. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
514fac7e5a
commit
c6f5d47987
@ -21365,3 +21365,7 @@
|
||||
2021-04-05 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Refactored video updates in the voice tracker to take place only
|
||||
within the 'VoiceTracker::paintEvent()' method.
|
||||
2021-04-05 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Added a workaround to 'RDCart::updateLength()' to prevent invalid
|
||||
data values from being written to the 'CART.MINIMUM_TALK_LENGTH'
|
||||
field.
|
||||
|
@ -1104,7 +1104,7 @@ void RDCart::updateLength(bool enforce_length,unsigned length)
|
||||
// FIXME: CART.MINIMUM_TALK_LENGTH is an unsigned int in the DB, yet we
|
||||
// sometime try to assign -1. Why?
|
||||
//
|
||||
if(min_talk_len<0) {
|
||||
if((min_talk_len<0)||(min_talk_len==LLONG_MAX)) {
|
||||
min_talk_len=0;
|
||||
}
|
||||
setMinimumTalkLength(min_talk_len);
|
||||
|
Loading…
x
Reference in New Issue
Block a user