From baa898b95225104b2f468c119ff1161da2c9f6e5 Mon Sep 17 00:00:00 2001 From: pabs3 Date: Sun, 11 Mar 2007 16:49:02 +0000 Subject: [PATCH] Missed a warning git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4995 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/lang.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Source/lang.cpp b/Source/lang.cpp index 69169fc3..2e4d2fa6 100644 --- a/Source/lang.cpp +++ b/Source/lang.cpp @@ -36,11 +36,13 @@ typedef enum { BOTH_STATIC = 3 } STATICID; -struct { +struct NLFString { char *szLangStringName; char *szDefault; STATICID eStaticID; -} NLFStrings[NLF_STRINGS] = { +}; + +NLFString NLFStrings[NLF_STRINGS] = { {"^Branding", "Nullsoft Install System %s", BOTH_STATIC}, {"^SetupCaption", "$(^Name) Setup", INSTALL_STATIC}, {"^UninstallCaption", "$(^Name) Uninstall", UNINSTALL_STATIC},