makes regress work

This commit is contained in:
wilfried 2002-08-15 19:32:22 +00:00
parent 5cf1ea4c42
commit 01fee3fb9d

View File

@ -0,0 +1,11 @@
$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];
}