From 7d45013af60ce0f336ebd163b91df13f54f5f747 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net>
Date: Thu, 10 Feb 2022 18:36:22 -0500
Subject: [PATCH] Consitfy showbuf too

---
 src/uifc/uifc.h   | 2 +-
 src/uifc/uifc32.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/uifc/uifc.h b/src/uifc/uifc.h
index 90b2aed26f..ae68c8e869 100644
--- a/src/uifc/uifc.h
+++ b/src/uifc/uifc.h
@@ -481,7 +481,7 @@ typedef struct {
 /* Shows a scrollable text buffer - optionally parsing "help markup codes"	*/
 /****************************************************************************/
 	void	(*showbuf)(int mode, int left, int top, int width, int height
-							,char *title, char *hbuf, int *curp, int *barp);
+							,const char *title, char *hbuf, int *curp, int *barp);
 
 /****************************************************************************/
 /* Updates time in upper left corner of screen with current time in ASCII/  */
diff --git a/src/uifc/uifc32.c b/src/uifc/uifc32.c
index 32bc93670d..d4a1ef25ca 100644
--- a/src/uifc/uifc32.c
+++ b/src/uifc/uifc32.c
@@ -87,7 +87,7 @@ static BOOL confirm(char *fmt, ...);
 static BOOL deny(char *fmt, ...);
 static void upop(const char *str);
 static void sethelp(int line, char* file);
-static void showbuf(int mode, int left, int top, int width, int height, char *title
+static void showbuf(int mode, int left, int top, int width, int height, const char *title
 	, char *hbuf, int *curp, int *barp);
 
 /* Dynamic menu support */
-- 
GitLab