summaryrefslogtreecommitdiffstats
path: root/src/askloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/askloc.c')
-rw-r--r--src/askloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/askloc.c b/src/askloc.c
index 55f380f..12ff468 100644
--- a/src/askloc.c
+++ b/src/askloc.c
@@ -148,7 +148,7 @@ char *ask_location(const char*msg, const char *src_dir, const char *dst_org)
char dst_directory[4096];
char *res=NULL;
int quit;
- WINDOW *window=newwin(0,0,0,0); /* full screen */
+ WINDOW *window=newwin(LINES, COLS, 0, 0); /* full screen */
aff_copy_short(window);
if(dst_org != NULL)
strncpy(dst_directory, dst_org, sizeof(dst_directory));