From 1225a68de3ff753338601d5f7a1cf08f47d438f3 Mon Sep 17 00:00:00 2001
From: "alexey.lysiuk" <alexey.lysiuk@gmail.com>
Date: Sat, 25 May 2019 13:16:39 +0300
Subject: [PATCH] - fixed character position assignment for multi-lump fonts

https://forum.zdoom.org/viewtopic.php?t=64741#p1104427
---
 src/gamedata/fonts/font.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gamedata/fonts/font.cpp b/src/gamedata/fonts/font.cpp
index da8fd25ee7..09423933fd 100644
--- a/src/gamedata/fonts/font.cpp
+++ b/src/gamedata/fonts/font.cpp
@@ -194,7 +194,7 @@ FFont::FFont (const char *name, const char *nametemplate, const char *filetempla
 			{
 				for (i = 0; i < lcount; i++)
 				{
-					int position = '!' + i;
+					int position = lfirst + i;
 					mysnprintf(buffer, countof(buffer), nametemplate, i + start);
 
 					lump = TexMan.CheckForTexture(buffer, ETextureType::MiscPatch);
@@ -253,7 +253,7 @@ FFont::FFont (const char *name, const char *nametemplate, const char *filetempla
 				{
 					if (texs[i])
 					{
-						int position = '!' + i;
+						int position = lfirst + i;
 						Type = Multilump;
 						if (position < minchar) minchar = position;
 						if (position > maxchar) maxchar = position;