aboutsummaryrefslogtreecommitdiff
path: root/src/dialog.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialog.cc')
-rw-r--r--src/dialog.cc3
1 files changed, 2 insertions, 1 deletions
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);