From 8c48c9a567149fe957df556b6b54fe3f2f139db8 Mon Sep 17 00:00:00 2001 From: cage Date: Mon, 2 Jan 2023 19:03:36 +0100 Subject: [PATCH] - prevented crash when printing a notification after deletion. --- src/program-events.lisp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/program-events.lisp b/src/program-events.lisp index 36f168f..9ddd458 100644 --- a/src/program-events.lisp +++ b/src/program-events.lisp @@ -1723,9 +1723,9 @@ (api-client:delete-all-notifications (lambda (notification) (with-enqueued-process () - (let* ((message (format nil - (_ "Deleting: ~a") - (api-client:notification->text notification))) + (let* ((message (tui:make-tui-string (format nil + (_ "Deleting: ~a") + (api-client:notification->text notification)))) (row (make-instance 'line-oriented-window:line :fields (list :original-object notification) :normal-text message