home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / unreleased / patches / old / 5.4p.10 < prev    next >
Encoding:
Internet Message Format  |  1999-07-21  |  1.4 KB

  1. To: vim-dev@vim.org
  2. Subject: patch 5.4p.10
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. ------------
  6.  
  7. Note: This requires that patch 5.4p.9 has been applied.
  8.  
  9.  
  10. Patch 5.4p.10
  11. Problem:    Win32: On top of 5.4p.9: The "Edit with Vim" entry sometimes used
  12.             a short file name for a directory.
  13. Solution:   Change the "%1" to "%L" in the registry entry.
  14. Files:      src/dosinst.c
  15.  
  16.  
  17. *** src/dosinst.c~    Thu Jul 22 13:31:53 1999
  18. --- src/dosinst.c    Thu Jul 22 13:32:00 1999
  19. ***************
  20. *** 745,751 ****
  21.           fprintf(fd, "[HKEY_CLASSES_ROOT\\*\\shell\\Vim]\n");
  22.           fprintf(fd, "@=\"Edit with &Vim\"\n\n");
  23.           fprintf(fd, "[HKEY_CLASSES_ROOT\\*\\shell\\Vim\\command]\n");
  24. !         fprintf(fd, "@=\"%sgvim.exe \\\"%%1\\\"\"\n", buf);
  25.           fclose(fd);
  26.           system("regedit vim.reg");
  27.           /* Can't delete the file, because regedit detaches itself,
  28. --- 745,751 ----
  29.           fprintf(fd, "[HKEY_CLASSES_ROOT\\*\\shell\\Vim]\n");
  30.           fprintf(fd, "@=\"Edit with &Vim\"\n\n");
  31.           fprintf(fd, "[HKEY_CLASSES_ROOT\\*\\shell\\Vim\\command]\n");
  32. !         fprintf(fd, "@=\"%sgvim.exe \\\"%%L\\\"\"\n", buf);
  33.           fclose(fd);
  34.           system("regedit vim.reg");
  35.           /* Can't delete the file, because regedit detaches itself,
  36.  
  37. --
  38. hundred-and-one symptoms of being an internet addict:
  39. 220. Your wife asks for sex and you tell her where to find you on IRC.
  40.  
  41. --/-/---- Bram Moolenaar ---- Bram@moolenaar.net ---- Bram@vim.org ---\-\--
  42.   \ \    www.vim.org/iccf      www.moolenaar.net       www.vim.org    / /
  43.