commit 59f5abe0db5b2753508abaa1a64fac478f2a1ab8
parent fce894761a987644a83663ffacabaa8ff4c8d667
Author: Frederic Cambus <fred@statdns.com>
Date: Fri, 14 Feb 2020 18:34:27 +0100
Change the FONTS macro to an enumeration constant.
Diffstat:
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/config.h b/src/config.h
@@ -19,6 +19,7 @@
#define VERSION "4.0.7"
enum {
+ FONTS = 38,
TYPES = 7
};
diff --git a/src/fonts.h b/src/fonts.h
@@ -13,8 +13,6 @@
#ifndef FONTS_H
#define FONTS_H
-#define FONTS 38
-
char *fonts[] = {
"cp737", /* Greek */
"cp775", /* Baltic */