Unicode: Fixed some scripts

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6068 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
wizou 2010-04-21 08:55:35 +00:00
parent ca54cf728c
commit 70ccef9cbc
7 changed files with 49 additions and 44 deletions

View file

@ -968,7 +968,7 @@ RefreshShellIcons
Push $8
Push $9
System::Alloc 1024
System::StrAlloc 1024
Pop $2
System::Call 'kernel32::GetLogicalDriveStrings(i,i) i(1024, r2)'
@ -1053,8 +1053,9 @@ RefreshShellIcons
StrCmp $9 'StopGetDrives' FileFunc_GetDrives_enumex
FileFunc_GetDrives_enumnext:
IntOp $4 $4 * ${NSIS_CHAR_SIZE}
IntOp $3 $3 + $4
IntOp $3 $3 + 1
IntOp $3 $3 + ${NSIS_CHAR_SIZE}
goto FileFunc_GetDrives_enumok
FileFunc_GetDrives_enumex: