Fix pending error messing up the file-append op

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3630 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
avolkov
2011-07-04 17:58:45 +00:00
parent 605111de3e
commit 496ee722ce
@@ -344,9 +344,12 @@ done:
FunctionEnd FunctionEnd
Function EnableRemixes Function EnableRemixes
# If there are errors pending AppendToFile will fail
ClearErrors
Push "$UQMUSERDATA\uqm.cfg" Push "$UQMUSERDATA\uqm.cfg"
Push "remixmusic = BOOLEAN:true$\r$\n" Push "remixmusic = BOOLEAN:true$\r$\n"
Call AppendToFile Call AppendToFile
ClearErrors
FunctionEnd FunctionEnd
SectionGroup "!UQM" SECGRP01 SectionGroup "!UQM" SECGRP01
@@ -625,6 +628,7 @@ Section Uninstall
Delete "$INSTDIR\SDL_image.dll" Delete "$INSTDIR\SDL_image.dll"
Delete "$INSTDIR\SDL.dll" Delete "$INSTDIR\SDL.dll"
Delete "$INSTDIR\README.txt" Delete "$INSTDIR\README.txt"
Delete "$INSTDIR\README-SDL.txt"
Delete "$INSTDIR\wrap_oal.dll" Delete "$INSTDIR\wrap_oal.dll"
Delete "$INSTDIR\OpenAL32.dll" Delete "$INSTDIR\OpenAL32.dll"
Delete "$INSTDIR\ogg.dll" Delete "$INSTDIR\ogg.dll"