Show
Ignore:
Timestamp:
09/07/10 16:16:24 (21 months ago)
Author:
spf
Message:

yet another copy/paste bug [See #34]

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/vlm-c/waypoint.c

    r1792 r1800  
    11/** 
    2  * $Id: waypoint.c,v 1.12 2010-09-06 19:29:03 ylafon Exp $ 
     2 * $Id: waypoint.c,v 1.13 2010-09-07 16:08:16 ylafon Exp $ 
    33 * 
    44 * (c) 2008 by Yves Lafon 
     
    212212      if((wp_long1-current_longitude)*(wp_long2-current_longitude)<0){ 
    213213        /* if no intersection, check if we ended up north of the gate */ 
    214         if (current_latitude > wp_lat1) { 
     214        if (current_latitude < wp_lat1) { 
    215215          intersect_ratio = get_waypoint_xing_ratio(prev_longitude, 
    216216                                                    current_longitude,