From 40545e6c420c8ff5c2a6f4df18634e16a715baf0 Mon Sep 17 00:00:00 2001 From: christos Date: Sat, 6 Oct 2012 19:39:51 +0000 Subject: if 0 is used for the dimensions, compute the maximum size. --- dab/ttyscrn.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dab/ttyscrn.h') diff --git a/dab/ttyscrn.h b/dab/ttyscrn.h index 3d3e87f5..addd91ed 100644 --- a/dab/ttyscrn.h +++ b/dab/ttyscrn.h @@ -1,4 +1,4 @@ -/* $NetBSD: ttyscrn.h,v 1.3 2008/04/28 20:22:54 martin Exp $ */ +/* $NetBSD: ttyscrn.h,v 1.4 2012/10/06 19:39:51 christos Exp $ */ /*- * Copyright (c) 2003 The NetBSD Foundation, Inc. @@ -41,7 +41,7 @@ class TTYSCRN : public GAMESCREEN { public: // Constructor that can fail - static TTYSCRN* create(int acs, size_t y, size_t x); + static TTYSCRN* create(int acs, size_t *y, size_t *x); ~TTYSCRN(); // Screen virtuals -- cgit v1.2.3