# HG changeset patch # User Mark Doliner # Date 1067401222 0 # Node ID d81406d44e0d52b3af5f0ab86bd0dc48a090e9da # Parent 566eba9a2b2c22aec9d7869064712f396d2fa029 [gaim-migrate @ 7962] This fixes the crash in http://sourceforge.net/tracker/?func=detail&aid=830837&group_id=235&atid=100235 It still doesn't clear the sytem log, but I'm not cool enough for that anyway. committer: Tailor Script diff -r 566eba9a2b2c -r d81406d44e0d src/dialogs.c --- a/src/dialogs.c Wed Oct 29 04:06:17 2003 +0000 +++ b/src/dialogs.c Wed Oct 29 04:20:22 2003 +0000 @@ -1976,7 +1976,7 @@ { char *text; - if (view->clear_handle != NULL) + if ((view != NULL ) && (view->clear_handle != NULL)) return; text = g_strdup_printf(_("You are about to remove the log file for %s. Do you want to continue?"),