Clarify GetCurInstType documentation

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6218 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2012-03-01 21:12:50 +00:00
parent 7cf2ef1a08
commit 200b6c0831

View file

@ -149,7 +149,7 @@ Sets the current \R{ainsttype}{InstType}. inst_type_idx should be between 0 and
\c user_var
Get the current \R{ainsttype}{InstType} and stores it in user_var. If the first install type is selected, 0 will be put in user_var. If the second install type is selected, 1 will be put in user_var, and so on. The value of $\{NSIS_MAX_INST_TYPES\} (32 by default) means that the custom install type was selected.
Get the current \R{ainsttype}{InstType} and stores it in user_var. If the first install type is selected, 0 will be put in user_var. If the second install type is selected, 1 will be put in user_var, and so on. The value of $\{NSIS_MAX_INST_TYPES\} (32 by default) means that the user selected a custom set of sections. Note that simply selecting "Custom" in the drop-down menu is not enough to trigger this. The value is calculated by the sections actually selected.
\S2{sinsttypesettext} InstTypeSetText