vlc | branch: master | Ludovic Fauvet <[email protected]> | Fri Sep 27 23:19:22 
2013 +0200| [751af66a8ee4d608b25874c2f56cc50fb47a06fa] | committer: Ludovic 
Fauvet

nsis: simplify

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=751af66a8ee4d608b25874c2f56cc50fb47a06fa
---

 extras/package/win32/NSIS/vlc.win32.nsi.in |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/extras/package/win32/NSIS/vlc.win32.nsi.in 
b/extras/package/win32/NSIS/vlc.win32.nsi.in
index ba65d97..a3ec311 100644
--- a/extras/package/win32/NSIS/vlc.win32.nsi.in
+++ b/extras/package/win32/NSIS/vlc.win32.nsi.in
@@ -428,11 +428,10 @@ Function .onInit
 ${MementoSectionRestore}
 
 @HAVE_WIN64_TRUE@ !include "x64.nsh"
-@HAVE_WIN64_TRUE@ ${If} ${RunningX64}
-@HAVE_WIN64_TRUE@ ${Else}
+@HAVE_WIN64_TRUE@ ${Unless} ${RunningX64}
 @HAVE_WIN64_TRUE@    MessageBox MB_OK|MB_ICONSTOP "This version of VLC only 
runs on 64bits operating systems.$\nYour operating system is 
32bits.$\n$\nPlease get the 32 BITS version."
 @HAVE_WIN64_TRUE@    Quit
-@HAVE_WIN64_TRUE@ ${Endif}
+@HAVE_WIN64_TRUE@ ${EndUnless}
 ${If} ${AtLeastWinXP}
     ${If} ${IsWinXP}
     ${AndIf} ${AtMostServicePack} 1

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to