Mark, > looks fine to me... > temp_min1 is 3rd from last... OK, actually the variables are swapped everywhere (for temp1), so although it is a mess from a developer's point of view, it doesn't hurt the user. Still I would bet that temp2 and temp3 suffer from the problem I suspected. Writing to temp_max2 would probably change temp_min2's value instead. Could you confirm? I will send a modified patch to Greg, that should fix that. Would be great if you could test it, just to make sure I did not miss a thing (although I'll double check this time). Thanks. -- Jean Delvare http://www.ensicaen.ismra.fr/~delvare/