diff options
-rw-r--r-- | messageWind.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/messageWind.c b/messageWind.c index 2c788a5..15efcbd 100644 --- a/messageWind.c +++ b/messageWind.c @@ -23,14 +23,10 @@ void toTheEnd(void) { return; int i = currentConv->nbSMS -1, size = h_WMessage + 1; - char lin[200] = ""; - char con[200] = ""; for(; i > 0 && size >= 0 ; i--,size--) { size -= nbLineSMS(¤tConv->listSMS[i]) + 1; - sprintf(con, "echo %d >> /tmp/a", nbLineSMS(¤tConv->listSMS[i]) + 1); - system(con); - + } if( size > 0 ) firstSMSIndex = 0; @@ -40,6 +36,7 @@ void toTheEnd(void) { // the windows size ... We simply show the begin of the SMS without // the end. (Yeah, fuck this ...) + canAugment = 0; } int nbLineSMS( sms* S ) { |