mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-03-04 13:40:52 +01: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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user