Mercurial > mplayer.hg
view mplayer.rc @ 10624:cdfd4a43c406
I've juste found a bug which prevent to load a file whose name contain
a quote ('). The menu simply execute a "loadfile '%p'" but when the %p
is replaced by the actual value, quotes in it are not escaped !
Moreover, mp_input_parse_cmd contain some code to unescape strings but
this code was placed after the string was copied in his final buffer.
So this patch correct this issue.
By Aurlien Jacobs
author | albeu |
---|---|
date | Fri, 15 Aug 2003 18:45:35 +0000 |
parents | 08608b5bb39a |
children | 71cf4cc1a454 |
line wrap: on
line source
/*Windows resource file for MPlayer compile with windres -o resfile.o mplayer.rc and add resfile.o to OBJS_MPLAYER in Makefile*/ #include <winver.h> #include "version.h" 1 VERSIONINFO FILEVERSION 0,0,9,0 PRODUCTVERSION 0,0,9,0 FILEOS VOS__WINDOWS32 FILETYPE VFT_APP { BLOCK "StringFileInfo" { BLOCK "000004b0" // LANG_NEUTRAL,UNICODE_CP { VALUE "Comments","MPlayer is distributed under the terms of the GNU General Public License Version 2. Sourcecode is available at http://www.mplayerhq.hu\000" VALUE "CompanyName", "\000" VALUE "FileDescription", "MPlayer - Movie Player for Linux\000" VALUE "FileVersion",VERSION VALUE "InternalName", "Counter Counter\000" VALUE "LegalCopyright", " (C) 2000-2003 Arpad Gereoffy (see DOCS)\000" //VALUE "LegalTrademarks"," \000"; VALUE "OriginalFilename", "mplayer.exe\000" VALUE "ProductName", "MPlayer - Movie Player for Linux\000" VALUE "ProductVersion",VERSION //VALUE "SpecialBuild","\000" } } BLOCK "VarFileInfo" { VALUE "Translation",0,0x04b0 } } IDI_ICON1 ICON DISCARDABLE "etc/mplayer.ico"