Bug #432 ยป replayLast.diff
watch.c | ||
---|---|---|
delete replayTitle;
|
||
replayTitle = NULL;
|
||
}
|
||
if(replayTitleLast) {
|
||
delete replayTitleLast;
|
||
replayTitleLast = NULL;
|
||
}
|
||
if(replayTime) {
|
||
delete replayTime;
|
||
replayTime = NULL;
|
||
... | ... | |
if(!replayTitleLast
|
||
|| !replayTitle
|
||
|| strcmp(*replayTitleLast,*replayTitle)) {
|
||
replayTitleLast = replayTitle;
|
||
if(replayTitleLast) {
|
||
delete replayTitleLast;
|
||
replayTitleLast = NULL;
|
||
}
|
||
if(replayTitle) {
|
||
replayTitleLast = new cString(*replayTitle);
|
||
}
|
||
return true;
|
||
}
|
||
return false;
|