From: Rob N. <rw_...@ho...> - 2010-08-16 22:59:52
|
The default value is zero, and previously if one changed it; it could then not be set back to zero. --- src/viktrwlayer.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/viktrwlayer.c b/src/viktrwlayer.c index f6d2440..05dc83f 100644 --- a/src/viktrwlayer.c +++ b/src/viktrwlayer.c @@ -603,7 +603,7 @@ static gboolean trw_layer_set_param ( VikTrwLayer *vtl, guint16 id, VikLayerPara trw_layer_new_track_gcs ( vtl, vp ); } break; - case PARAM_BLT: if ( data.u > 0 && data.u <= 8 && data.u != vtl->bg_line_thickness ) + case PARAM_BLT: if ( data.u >= 0 && data.u <= 8 && data.u != vtl->bg_line_thickness ) { vtl->bg_line_thickness = data.u; trw_layer_new_track_gcs ( vtl, vp ); -- 1.7.1 |