]> git.sesse.net Git - vlc/commitdiff
change pointed out by 'acehole' in the forums so that automaticaly opening
authorAntoine Cellerier <dionoea@videolan.org>
Wed, 20 Apr 2005 14:39:29 +0000 (14:39 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Wed, 20 Apr 2005 14:39:29 +0000 (14:39 +0000)
a file with VLC will use the whole file name and not the 8.3 format. That
makes automatic subtitle loading work.

vlc.win32.nsi

index ab6327f7f9d5660c829c891370a07f004ce04eae..7006e362057034c2663a6ad0a738cb7a571754be 100644 (file)
@@ -83,7 +83,7 @@ NoBackup:
   ReadRegStr $0 HKCR "VLC$R0" ""\r
   WriteRegStr HKCR "VLC$R0" "" "VLC media file"\r
   WriteRegStr HKCR "VLC$R0\shell" "" "Play"\r
-  WriteRegStr HKCR "VLC$R0\shell\Play\command" "" '$INSTDIR\vlc.exe "%1"'\r
+  WriteRegStr HKCR "VLC$R0\shell\Play\command" "" '"$INSTDIR\vlc.exe" "%1"'\r
   WriteRegStr HKCR "VLC$R0\DefaultIcon" "" '"$INSTDIR\vlc.exe",0'\r
 FunctionEnd\r
 \r