aboutsummaryrefslogtreecommitdiff
path: root/src/dialog.cc
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-02-03 13:08:52 +0100
committerjcid <devnull@localhost>2008-02-03 13:08:52 +0100
commite2a51234182f85b77b9d6bbb88aa175d02c76132 (patch)
treef6fcc56268d152e482ca9e2e2c35f9d8056e1bae /src/dialog.cc
parent49fd289c03c5603c2193082e0384f310b3b7fd25 (diff)
- Switched text window (dialog) to use prefs.width and prefs.height
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);