From 0d2f2527bd1b0f966baf4868f3ecbc029f71c9ff Mon Sep 17 00:00:00 2001 From: Hin-Tak Leung Date: Wed, 30 Aug 2017 20:58:30 +0100 Subject: [PATCH] dropping dll suffix to match SharpFont 4.x changes --- Compat/Compat.cs | 4 ++-- bin/Compat.dll.config | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Compat/Compat.cs b/Compat/Compat.cs index 0283593..70a3b22 100644 --- a/Compat/Compat.cs +++ b/Compat/Compat.cs @@ -53,10 +53,10 @@ public delegate int diagnostics_Function(string message, string opcode, int range_base, int is_composite, int IP, int callTop, int opc, int start); - [DllImport("freetype6.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("freetype6", CallingConvention = CallingConvention.Cdecl)] public static extern void TT_Diagnostics_Set([MarshalAs(UnmanagedType.FunctionPtr)] diagnostics_Function diagnostics); - [DllImport("freetype6.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("freetype6", CallingConvention = CallingConvention.Cdecl)] public static extern void TT_Diagnostics_Unset(); private RasterInterf () diff --git a/bin/Compat.dll.config b/bin/Compat.dll.config index 439f536..240be5c 100644 --- a/bin/Compat.dll.config +++ b/bin/Compat.dll.config @@ -1,6 +1,6 @@  - +