From 416146d6e6005e75a3d4f979b83edb1a755bc034 Mon Sep 17 00:00:00 2001 From: kichik Date: Fri, 27 Apr 2007 15:14:08 +0000 Subject: [PATCH] font should come after the empty string that marks the end of the language list, no need to decrease lang_num git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5129 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/LangDLL/LangDLL.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/Contrib/LangDLL/LangDLL.c b/Contrib/LangDLL/LangDLL.c index 53463817..28e349a9 100644 --- a/Contrib/LangDLL/LangDLL.c +++ b/Contrib/LangDLL/LangDLL.c @@ -158,8 +158,6 @@ void __declspec(dllexport) LangDialog(HWND hwndParent, int string_size, th = th->next; } if (!th) return; - if (dofont) - langs_num -= 2; if (docp) langs_num /= 3; else