From dda1ef9a4d9f87e54b878f12de164e53e29622c1 Mon Sep 17 00:00:00 2001 From: Franck Wajsburt Date: Thu, 11 Jul 2002 16:56:27 +0000 Subject: [PATCH] rectification pour vws : il faut que le shrink ne s'applique que sur la largeur du segment --- alliance/src/rds/src/rfmacces.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/alliance/src/rds/src/rfmacces.c b/alliance/src/rds/src/rfmacces.c index e475a6c9..95ead9d3 100644 --- a/alliance/src/rds/src/rfmacces.c +++ b/alliance/src/rds/src/rfmacces.c @@ -143,14 +143,14 @@ rdsrec_list *segmbkrds( Figure, Segment, Lynx ) { case LEFT : X1R = X1 - DLR; Y1R = Y1 - ( ( WS + DWR ) >> 1 ); - X2R = X2 + DLR - abs(SHRINK); + X2R = X2 + DLR; Y2R = Y2 + ( ( WS + DWR ) >> 1 ) - abs(SHRINK); break; case RIGHT : X1R = X1 - DLR; Y1R = Y1 - ( ( WS + DWR ) >> 1 ); - X2R = X2 + DLR - abs(SHRINK); + X2R = X2 + DLR; Y2R = Y2 + ( ( WS + DWR ) >> 1 ) - abs(SHRINK); break; @@ -158,14 +158,14 @@ rdsrec_list *segmbkrds( Figure, Segment, Lynx ) case DOWN : X1R = X1 - ( ( WS + DWR ) >> 1 ); Y1R = Y1 - DLR; X2R = X2 + ( ( WS + DWR ) >> 1 ) - abs(SHRINK); - Y2R = Y2 + DLR - abs(SHRINK); + Y2R = Y2 + DLR; break; case UP : X1R = X1 - ( ( WS + DWR ) >> 1 ); Y1R = Y1 - DLR; X2R = X2 + ( ( WS + DWR ) >> 1 ) - abs(SHRINK); - Y2R = Y2 + DLR - abs(SHRINK); + Y2R = Y2 + DLR; break; }