Fixed wrong desktop/startmenu shortcut installation if non-German installer language...
authorEmanuel Schuetze <emanuel.schuetze@intevation.de>
Tue, 1 Feb 2011 14:28:02 +0000 (14:28 +0000)
committerEmanuel Schuetze <emanuel.schuetze@intevation.de>
Tue, 1 Feb 2011 14:28:02 +0000 (14:28 +0000)
ChangeLog
src/inst-sections.nsi

index 699553d..8978848 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-02-01  Emanuel Schuetze <emanuel@intevation.de>
+
+       * src/inst-sections.nsi: Fix wrong desktop/startmenu shortcut
+         installation if non-German installer language is selected.
+
 2011-02-01  Marcus Brinkmann  <mb@g10code.com>
 
        * src/Makefile.am (gpg4win_pkg_gnupg2_configure): Add --enable-gpgtar.
index 02532d2..e562ca1 100644 (file)
@@ -1341,7 +1341,7 @@ Section "-startmenu"
 #      "" "" "" SW_SHOWNORMAL "" $(DESC_Menu_gnupg_faq)
 
 
- StrCmp $LANGUAGE ${LANG_GERMAN} 0 +7
+ StrCmp $LANGUAGE ${LANG_GERMAN} 0 +3
     # German
     CreateShortCut \
       "$SMPROGRAMS\$STARTMENU_FOLDER\$(DESC_Menu_manuals)\Gpg4win HOWTO SMIME.lnk" \
@@ -1524,7 +1524,7 @@ Section "-startmenu"
       "$INSTDIR\share\gpg4win\README.$(T_LangCode).txt" \
       "" "" "" SW_SHOWNORMAL "" $(DESC_Menu_gpg4win_readme)
 
- StrCmp $LANGUAGE ${LANG_GERMAN} 0 +7
+ StrCmp $LANGUAGE ${LANG_GERMAN} 0 +3
     # German
     CreateShortCut \
       "$DESKTOP\$(DESC_Desktop_manuals)\Gpg4win HOWTO SMIME.lnk" \