From 7f9b5cb0a8016d13799289bc7e4dad685410345e Mon Sep 17 00:00:00 2001 From: James R Date: Sun, 23 Jun 2019 16:33:53 -0700 Subject: [PATCH] Fix minor errors --- src/font.h | 2 +- src/hu_stuff.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/font.h b/src/font.h index c2ef5cf34..88bedb44f 100644 --- a/src/font.h +++ b/src/font.h @@ -10,7 +10,7 @@ /// \file font.h /// \brief Font setup -#ifndef __FONT_H_ +#ifndef __FONT_H__ #define __FONT_H__ #define MAX_FONTS 32 diff --git a/src/hu_stuff.c b/src/hu_stuff.c index 68773b7bb..9a9bf87d2 100644 --- a/src/hu_stuff.c +++ b/src/hu_stuff.c @@ -242,7 +242,7 @@ void HU_Init(void) if (!dedicated) { -#define DIM( start, size ) ( font.start = start, font.size = size ) +#define DIM( s, n ) ( font.start = s, font.size = n ) #define ADIM( name ) DIM (name ## _FONTSTART, name ## _FONTSIZE) #define PR( s ) strcpy(font.prefix, s) #define DIG( n ) ( font.digits = n )