// vim:ts=4:sw=4
//
// VIM - Vi IMproved		by Bram Moolenaar
//
// Do ":help uganda"  in Vim to read copying and usage conditions.
// Do ":help credits" in Vim to see a list of people who contributed.

// vim.rc
//   Icon and version information for the Win32 version of Vim
//

#include <winver.h>
#include "version.h"

/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

IDR_VIM           ICON    DISCARDABLE     "vim.ico"



/////////////////////////////////////////////////////////////////////////////
//
// Version
//

VS_VERSION_INFO     VERSIONINFO
  FILEVERSION       VIM_VERSION_MAJOR,VIM_VERSION_MINOR,VIM_VERSION_BUILD,VIM_VERSION_PATCHLEVEL
  PRODUCTVERSION    VIM_VERSION_MAJOR,VIM_VERSION_MINOR,VIM_VERSION_BUILD,VIM_VERSION_PATCHLEVEL
  FILEFLAGSMASK		VS_FFI_FILEFLAGSMASK

// replace PRERELEASE with 0 for 4.0

#if VIM_VERSION_PATCHLEVEL > 0
 #ifdef _DEBUG
  FILEFLAGS			VS_FF_PRERELEASE | VS_FF_DEBUG | VS_FF_PATCHED
 #else
  FILEFLAGS			VS_FF_PRERELEASE | VS_FF_PATCHED
 #endif
#else
 #ifdef _DEBUG
  FILEFLAGS			VS_FF_PRERELEASE | VS_FF_DEBUG
 #else
  FILEFLAGS			VS_FF_PRERELEASE
 #endif
#endif

  FILEOS			VOS__WINDOWS32
  FILETYPE			VFT_APP
  FILESUBTYPE		0x0L
BEGIN
	BLOCK "StringFileInfo"
	BEGIN
		// 0x0409 == U.S. English; 0x04E4 => Windows Multilingual
        BLOCK "040904E4"
		BEGIN 
			VALUE "CompanyName",     "Vim Developers\0"
			VALUE "FileDescription", "Vi Improved - A Text Editor\0"
			VALUE "FileVersion",     VIM_VERSION_MAJOR_STR ", " VIM_VERSION_MINOR_STR ", " VIM_VERSION_BUILD_STR ", " VIM_VERSION_PATCHLEVEL_STR  "\0"
			VALUE "InternalName",    "VIM\0"
			VALUE "LegalCopyright",  "Copyright \251 1996\0"
			VALUE "LegalTrademarks", "\0"
			VALUE "OriginalFilename","VIM.EXE\0"
			VALUE "ProductName",     "Vim\0"
			VALUE "ProductVersion",  VIM_VERSION_MAJOR_STR ", " VIM_VERSION_MINOR_STR ", " VIM_VERSION_BUILD_STR ", " VIM_VERSION_PATCHLEVEL_STR "\0"
		END
	END
	BLOCK "VarFileInfo" 
	BEGIN 
		VALUE "Translation", 0x409, 0x4E4
    END
END
