openbsd-ports/x11/flvw/patches/patch-1_0_test_testtable2_cxx
2002-08-15 19:32:22 +00:00

12 lines
319 B
Plaintext

$OpenBSD: patch-1_0_test_testtable2_cxx,v 1.1 2002/08/15 19:32:22 wilfried Exp $
--- 1.0/test/testtable2.cxx.orig Sun Jan 23 22:16:00 2000
+++ 1.0/test/testtable2.cxx Sat Aug 10 19:33:43 2002
@@ -46,6 +46,7 @@ char *val[12][5] =
char *get_value( int R, int C )
{
+ if (R == -3) return 0;
return val[R+2][C];
}