From 066998e428c68aa3bac434a35afc98e3d6797200 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Sat, 9 Feb 2002 15:12:34 +0000 Subject: [w3m-dev 03033] SSL indicator * display.c (displayBuffer): show SSL indicator From: Fumitoshi UKAI --- display.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'display.c') diff --git a/display.c b/display.c index a189a68..7003b2a 100644 --- a/display.c +++ b/display.c @@ -1,4 +1,4 @@ -/* $Id: display.c,v 1.16 2002/01/31 18:28:24 ukai Exp $ */ +/* $Id: display.c,v 1.17 2002/02/09 15:12:34 ukai Exp $ */ #include #include "fm.h" @@ -318,7 +318,10 @@ displayBuffer(Buffer *buf, int mode) else #endif /* not USE_MOUSE */ msg = Strnew(); - Strcat_charp(msg, "Viewing <"); + Strcat_charp(msg, "Viewing"); + if (buf->ssl_certificate) + Strcat_charp(msg, "[SSL]"); + Strcat_charp(msg, " <"); Strcat_charp(msg, buf->buffername); if (displayLink) aa = retrieveCurrentAnchor(buf); -- cgit v1.2.3