[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.
This commit is contained in:
Bill Currie 2022-03-31 03:02:55 +09:00
parent 2abd4a5e79
commit aed5cdee8e
2 changed files with 4 additions and 4 deletions

View file

@ -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); r_funcs->Draw_String (view->xabs + x, view->yabs + y, str);
} }
#if 0
static inline void static inline void
draw_altstring (view_t *view, int x, int y, const char *str) 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); r_funcs->Draw_nString (view->xabs + x, view->yabs + y, str, n);
} }
#endif
static inline void static inline void
draw_fill (view_t *view, int x, int y, int w, int h, int col) draw_fill (view_t *view, int x, int y, int w, int h, int col)
{ {

View file

@ -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); r_funcs->Draw_String (view->xabs + x, view->yabs + y, str);
} }
#if 0
static inline void static inline void
draw_altstring (view_t *view, int x, int y, const char *str) draw_altstring (view_t *view, int x, int y, const char *str)
{ {
r_funcs->Draw_AltString (view->xabs + x, view->yabs + y, str); r_funcs->Draw_AltString (view->xabs + x, view->yabs + y, str);
} }
#endif
static inline void static inline void
draw_nstring (view_t *view, int x, int y, const char *str, int n) draw_nstring (view_t *view, int x, int y, const char *str, int n)
{ {