From 28a4abd876bca2c143ae973d892cd05846a3e7db Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 5 Jan 2003 03:59:36 +0000 Subject: [PATCH] fix numbers loading --- stepmania/src/FontManager.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stepmania/src/FontManager.cpp b/stepmania/src/FontManager.cpp index e9303efa3b..09b18cb252 100644 --- a/stepmania/src/FontManager.cpp +++ b/stepmania/src/FontManager.cpp @@ -179,7 +179,10 @@ void FontManager::GetFontPaths(const CString &sFontOrTextureFilePath, ASSERT(sExt.CompareNoCase("redir")); /* don't give us a redir! */ if(!sExt.empty()) + { TexturePaths.push_back(sFontOrTextureFilePath); + return; + } /* If we have no extension, we need to search. */ GetDirListing( sFontOrTextureFilePath + "*.png", TexturePaths, false, true );