aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2017-11-17 17:24:42 +0100
committerache <ache@ache.one>2017-11-17 17:24:42 +0100
commit33236c614052e0a000840bedb29eb820b6ed4cc1 (patch)
treed2ca33c45883d6589fa559ae421224d4ec2f3280
parentNew mesms (diff)
fix the display of the sms to send
-rw-r--r--main.c1
-rw-r--r--wind.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/main.c b/main.c
index 2cdbb44..18f6b1f 100644
--- a/main.c
+++ b/main.c
@@ -291,6 +291,7 @@ edit:
}
free(cmd);
unlink( fileName );
+ resize();
}
}
diff --git a/wind.c b/wind.c
index 7f06792..796476d 100644
--- a/wind.c
+++ b/wind.c
@@ -35,10 +35,10 @@ void resize() {
move(1,COLS/2);
}
int confirmSend(char* txt, char* autheur) {
- int x = COLS/3;
+ int x = COLS/6;
int y = LINES/3;
- int w = COLS/3;
+ int w = COLS*2/3;
int h = LINES/3;
clear();