aboutsummaryrefslogtreecommitdiff
path: root/messageWind.c
diff options
context:
space:
mode:
authorache <ache@ache.one>2019-09-13 00:58:58 +0200
committerache <ache@ache.one>2019-09-13 00:58:58 +0200
commitd94ac247853feda2d5be2d6ab3d7629726fdd092 (patch)
tree5100af8c77c1f0261be74737a50881406539f465 /messageWind.c
parentFix the over the last bug (diff)
Use default color background
Diffstat (limited to 'messageWind.c')
-rw-r--r--messageWind.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/messageWind.c b/messageWind.c
index 15efcbd..b8ee9c8 100644
--- a/messageWind.c
+++ b/messageWind.c
@@ -66,8 +66,8 @@ int show1SMS(sms* S, int y_base, int* hasFinish) {
*hasFinish = 1;
- int nbColors = 7 - 1;
- attrset( COLOR_PAIR( (rand() % nbColors) + 2) | A_BOLD);
+ int nbColors = 8 - 1;
+ attrset( COLOR_PAIR( (rand() % nbColors) + 1) | A_BOLD);
while( S->text[iS] ) {
x = 0;
while( x < w_WMessageSMS-1 && S->text[iS]) {