From e2a51234182f85b77b9d6bbb88aa175d02c76132 Mon Sep 17 00:00:00 2001 From: jcid Date: Sun, 3 Feb 2008 13:08:52 +0100 Subject: - Switched text window (dialog) to use prefs.width and prefs.height --- src/dialog.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/dialog.cc') diff --git a/src/dialog.cc b/src/dialog.cc index 9b53d5c6..98010b8a 100644 --- a/src/dialog.cc +++ b/src/dialog.cc @@ -103,7 +103,8 @@ char *a_Dialog_open_file(const char *msg, */ void a_Dialog_text_window(const char *txt, const char *title) { - int wh = 600, ww = 650, bh = 30; + //int wh = 600, ww = 650, bh = 30; + int wh = prefs.height, ww = prefs.width, bh = 30; int lines, line_num_width; TextBuffer *text_buf = new TextBuffer(); text_buf->text(txt); -- cgit v1.2.3