From aed5cdee8e3aaea1de43583e52c814d68cc1de76 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 31 Mar 2022 03:02:55 +0900 Subject: [PATCH] [sbar] Disable some unused functions I don't know why draw_altstring is there at all, but draw_nstring being in nq is likely due to minimising the diffs between nq and qw. --- nq/source/sbar.c | 4 ++-- qw/source/sbar.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nq/source/sbar.c b/nq/source/sbar.c index 7a564ed87..9e98ce717 100644 --- a/nq/source/sbar.c +++ b/nq/source/sbar.c @@ -300,7 +300,7 @@ draw_string (view_t *view, int x, int y, const char *str) { r_funcs->Draw_String (view->xabs + x, view->yabs + y, str); } - +#if 0 static inline void draw_altstring (view_t *view, int x, int y, const char *str) { @@ -312,7 +312,7 @@ draw_nstring (view_t *view, int x, int y, const char *str, int n) { r_funcs->Draw_nString (view->xabs + x, view->yabs + y, str, n); } - +#endif static inline void draw_fill (view_t *view, int x, int y, int w, int h, int col) { diff --git a/qw/source/sbar.c b/qw/source/sbar.c index 84532d2ed..15863b80d 100644 --- a/qw/source/sbar.c +++ b/qw/source/sbar.c @@ -305,13 +305,13 @@ draw_string (view_t *view, int x, int y, const char *str) { r_funcs->Draw_String (view->xabs + x, view->yabs + y, str); } - +#if 0 static inline void draw_altstring (view_t *view, int x, int y, const char *str) { r_funcs->Draw_AltString (view->xabs + x, view->yabs + y, str); } - +#endif static inline void draw_nstring (view_t *view, int x, int y, const char *str, int n) {