commit 348634879b63961f0655a68ab3e3580701dc291a
parent 3b3983fb997f5ced32e730b89016c8efc9237c20
Author: ukai <ukai>
Date: Sat, 9 Feb 2002 15:12:34 +0000
[w3m-dev 03033] SSL indicator
* display.c (displayBuffer): show SSL indicator
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat:
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,8 @@
+2002-02-10 Fumitoshi UKAI <ukai@debian.or.jp>
+
+ * [w3m-dev 03033] SSL indicator
+ * display.c (displayBuffer): show SSL indicator
+
2002-02-08 Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp>
* [w3m-dev 03025] fix image loading on EWS4800
diff --git a/display.c b/display.c
@@ -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);