talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 75a2656e702105205fffa04c86f97260a4815839
parent 3d221d4ddc651ae8dd2285133d7891d35c43a504
Author: Michael Rasmussen <mir@datanom.net>
Date:   Tue,  4 Jan 2022 11:13:05 +0100

Fix CID 1496850

Signed-off-by: Michael Rasmussen <mir@datanom.net>

Diffstat:
Msrc/compose.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/compose.c b/src/compose.c @@ -10888,7 +10888,7 @@ static void entry_paste_clipboard(Compose *compose, GtkWidget *entry, glong len = g_utf8_strlen(contents, -1); if (len > MAX_ALLOCA_MEM_SIZE) { - alertpanel_error(_("Number of pages '%d' exceeds limit '%d' for paste.\nAttach as file instead."), (len / 1800), (MAX_ALLOCA_MEM_SIZE / 1800)); + alertpanel_error(_("Number of pages '%ld' exceeds limit '%d' for paste.\nAttach as file instead."), (len / 1800), (MAX_ALLOCA_MEM_SIZE / 1800)); return; } /* we shouldn't delete the selection when middle-click-pasting, or we