]> git.lyx.org Git - lyx.git/commitdiff
Win installer: init.nsh: a change that I forgot to backport
authorUwe Stöhr <uwestoehr@lyx.org>
Wed, 23 Nov 2016 02:01:08 +0000 (03:01 +0100)
committerUwe Stöhr <uwestoehr@lyx.org>
Wed, 23 Nov 2016 02:01:08 +0000 (03:01 +0100)
development/Win32/packaging/installer/include/init.nsh

index 53f8b21706d19104f489aade429619f7379e12fe..db4a9ef1da92b9cdaf0f3d6d3bb4a6cc712ed16a 100644 (file)
@@ -180,7 +180,7 @@ Section "English (GB)" SecDEnglishGB
  # already installed by default
  SectionIn RO
  #StrCpy $DictCodes "en_GB,$DictCodes"
- AddSize 760
+ AddSize 735
 SectionEnd
 
 Section /o "English (NZ)" SecDEnglishNZ
@@ -416,6 +416,11 @@ Section /o "Thai" SecDThai
  AddSize 351
 SectionEnd
 
+Section /o "Tibetan" SecDTibetan
+ StrCpy $DictCodes "bo_CN,$DictCodes"
+ AddSize 7
+SectionEnd
+
 Section /o "Türkmençe" SecDTurkmen
  StrCpy $DictCodes "tk_TM,$DictCodes"
  AddSize 950
@@ -1186,6 +1191,13 @@ Function .onInit
    SectionSetFlags ${SecDThai} $0
    SectionSetSize ${SecDThai} 0
   ${endif}
+  StrCpy $Search "bo_CN"
+  Call StrPoint
+  ${if} $Pointer != "-1"
+   IntOp $0 ${SF_SELECTED} | ${SF_RO}
+   SectionSetFlags ${SecDTibetan} $0
+   SectionSetSize ${SecDTibetan} 0
+  ${endif}
   StrCpy $Search "tk_TM"
   Call StrPoint
   ${if} $Pointer != "-1"