Mailing List Archive

[PATCH] segfault on delete
Hi Isaac,

Delete from the playback box using the 'd' key tries to update the
progressbar and the freespace which don't exist. This should keep
that from happening.

-Jim

--- playbackbox.cpp.~1.33.~ 2002-11-20 22:04:42.000000000 -0800
+++ playbackbox.cpp 2002-11-23 15:54:16.000000000 -0800
@@ -532,7 +532,8 @@
changed(NULL);

delete lvitem;
- UpdateProgressBar();
+ if(type == Delete)
+ UpdateProgressBar();
}
else if (m_context->GetNumSetting("PlaybackPreview") == 1)
startPlayer(rec);
Re: [PATCH] segfault on delete [ In reply to ]
On Saturday 23 November 2002 06:59 pm, Jim Radford wrote:
> Hi Isaac,
>
> Delete from the playback box using the 'd' key tries to update the
> progressbar and the freespace which don't exist. This should keep
> that from happening.

Thanks, it'll be in my next commit.

Isaac