File: disabledby-tetris.dpatch

package info (click to toggle)
vim-scripts 20080722-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 4,352 kB
  • ctags: 2,300
  • sloc: perl: 451; sh: 370; xml: 95; makefile: 25
file content (22 lines) | stat: -rw-r--r-- 749 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#! /bin/sh /usr/share/dpatch/dpatch-run
## disabledby-tetris.dpatch by Stefano Zacchiroli <zack@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad vim-scripts~/plugin/tetris.vim vim-scripts/plugin/tetris.vim
--- vim-scripts~/plugin/tetris.vim	2007-01-17 16:05:04.000000000 +0100
+++ vim-scripts/plugin/tetris.vim	2007-01-27 09:51:45.000000000 +0100
@@ -8,6 +8,11 @@
 "	Dan Sharp		Bug reports, improvements
 "	If your name is not here, but should be, drop me a mail
 
+if exists("loaded_tetris")
+ finish
+endif
+let loaded_tetris = 1
+
 " TODO FocusGained FocusLost Auto calibration during play
 let s:s='-Tetris_game-'
 let s:WIDTH=10|let s:NEXTXPOS=16|let s:NEXTYPOS=2