summaryrefslogtreecommitdiffstats
path: root/dab/ttyscrn.h
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2012-10-06 19:39:51 +0000
committerchristos <christos@NetBSD.org>2012-10-06 19:39:51 +0000
commit40545e6c420c8ff5c2a6f4df18634e16a715baf0 (patch)
tree4b2a12c717e9c50e539a98b84f4792fb7275a1aa /dab/ttyscrn.h
parentbbb57b4a8f2ef35bf61fa83816c3ffc3bf23af73 (diff)
downloadbsdgames-darwin-40545e6c420c8ff5c2a6f4df18634e16a715baf0.tar.gz
bsdgames-darwin-40545e6c420c8ff5c2a6f4df18634e16a715baf0.tar.zst
bsdgames-darwin-40545e6c420c8ff5c2a6f4df18634e16a715baf0.zip
if 0 is used for the dimensions, compute the maximum size.
Diffstat (limited to 'dab/ttyscrn.h')
-rw-r--r--dab/ttyscrn.h4
1 files changed, 2 insertions, 2 deletions
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