From e08460adc3bfa1c4b9fea0249f285ff3014d1ea2 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 17 Mar 2018 14:45:45 -0400 Subject: [PATCH] Cleanup from the previous commit. --- windows/OLD_uipriv_attrstr.h | 1 - windows/init.cpp | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 windows/OLD_uipriv_attrstr.h diff --git a/windows/OLD_uipriv_attrstr.h b/windows/OLD_uipriv_attrstr.h deleted file mode 100644 index 8b137891..00000000 --- a/windows/OLD_uipriv_attrstr.h +++ /dev/null @@ -1 +0,0 @@ - diff --git a/windows/init.cpp b/windows/init.cpp index 22874165..cfe63b9a 100644 --- a/windows/init.cpp +++ b/windows/init.cpp @@ -1,5 +1,6 @@ // 6 april 2015 #include "uipriv_windows.hpp" +#include "attrstr.hpp" HINSTANCE hInstance; int nCmdShow; @@ -117,7 +118,7 @@ const char *uiInit(uiInitOptions *o) if (hr != S_OK) return ieHRESULT("initializing Direct2D", hr); - hr = initDrawText(); + hr = uiprivInitDrawText(); if (hr != S_OK) return ieHRESULT("initializing DirectWrite", hr); @@ -139,7 +140,7 @@ void uiUninit(void) unregisterD2DScratchClass(); unregisterMessageFilter(); unregisterArea(); - uninitDrawText(); + uiprivUninitDrawText(); uninitDraw(); CoUninitialize(); if (DeleteObject(hollowBrush) == 0)