X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/6b6247c70321dce562f59e846efc5243996ee946..fb9ef1d4fc0e3d17aef970cdca6c6a91ecacacb8:/dab/main.cc diff --git a/dab/main.cc b/dab/main.cc index 97d93eaa..49a8850b 100644 --- a/dab/main.cc +++ b/dab/main.cc @@ -1,4 +1,4 @@ -/* $NetBSD: main.cc,v 1.5 2008/04/28 20:22:54 martin Exp $ */ +/* $NetBSD: main.cc,v 1.6 2012/10/06 19:39:51 christos Exp $ */ /*- * Copyright (c) 2003 The NetBSD Foundation, Inc. @@ -33,7 +33,7 @@ * main.C: Main dots program */ #include "defs.h" -RCSID("$NetBSD: main.cc,v 1.5 2008/04/28 20:22:54 martin Exp $") +RCSID("$NetBSD: main.cc,v 1.6 2012/10/06 19:39:51 christos Exp $") #include #include @@ -168,7 +168,7 @@ int main(int argc, char** argv) } } - sc = TTYSCRN::create(acs, ny, nx); + sc = TTYSCRN::create(acs, &ny, &nx); if (sc == NULL) ::errx(1, "Dimensions too large for current screen.");