summaryrefslogtreecommitdiff
path: root/src/fontcache.cpp
diff options
context:
space:
mode:
authorSamuXarick <43006711+SamuXarick@users.noreply.github.com>2021-02-05 10:00:36 +0000
committerGitHub <noreply@github.com>2021-02-05 11:00:36 +0100
commita4035af3375825ae277f1363c5d814ee55b92d7c (patch)
tree7622810853ec1810ca8c5842ba7d93cf770a439c /src/fontcache.cpp
parent5b3fe4ae2741ef014b1a41a21c146d56c7408d6e (diff)
downloadopenttd-a4035af3375825ae277f1363c5d814ee55b92d7c.tar.xz
Codechange: Apply coding style (#8640)
* Fix: Missing or needed spaces * Codechange: Remove space * Codechange: Remove space * Codechange: More missing spaces * Codechange: Missing spaces * Codechange: Remove space * Codechange: Remove space
Diffstat (limited to 'src/fontcache.cpp')
-rw-r--r--src/fontcache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fontcache.cpp b/src/fontcache.cpp
index ec336612a..0b2764aab 100644
--- a/src/fontcache.cpp
+++ b/src/fontcache.cpp
@@ -1008,7 +1008,7 @@ static void LoadWin32Font(FontSize fs)
if (fontPath[0] != 0) {
if (AddFontResourceEx(fontPath, FR_PRIVATE, 0) != 0) {
/* Try a nice little undocumented function first for getting the internal font name.
- * Some documentation is found at: http://www.undocprint.org/winspool/getfontresourceinfo */
+ * Some documentation is found at: http://www.undocprint.org/winspool/getfontresourceinfo */
typedef BOOL(WINAPI * PFNGETFONTRESOURCEINFO)(LPCTSTR, LPDWORD, LPVOID, DWORD);
#ifdef UNICODE
static PFNGETFONTRESOURCEINFO GetFontResourceInfo = (PFNGETFONTRESOURCEINFO)GetProcAddress(GetModuleHandle(_T("Gdi32")), "GetFontResourceInfoW");