openbsd-ports/x11/flvw/patches/patch-1_0_test_testtable2_cxx

12 lines
319 B
Plaintext
Raw Normal View History

2002-08-15 15:32:22 -04:00
$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];
}