]> git.street.me.uk Git - andy/viking.git/commitdiff
Fix build when --disable-alphabetized-trw is specified
authorRob Norris <rw_norris@hotmail.com>
Wed, 11 Apr 2012 21:11:36 +0000 (22:11 +0100)
committerRob Norris <rw_norris@hotmail.com>
Wed, 11 Apr 2012 21:11:36 +0000 (22:11 +0100)
src/viktrwlayer.c

index c849008d165f6dc475b90128c719c00aee63511b..0ec5f2893eb1dd97a30f4a4445b5765594a1cc1c 100644 (file)
@@ -3419,7 +3419,6 @@ static gint trackpoint_compare(gconstpointer a, gconstpointer b)
   return 0;
 }
 
-#ifdef VIK_CONFIG_ALPHABETIZED_TRW
 /**
  * comparison function which can be used to sort tracks or waypoints by name
  */
@@ -3433,7 +3432,6 @@ static gint sort_alphabetically (gconstpointer a, gconstpointer b, gpointer user
     // Same sort method as used in the vik_treeview_*_alphabetize functions
     return strcmp ( namea, nameb );
 }
-#endif
 
 /**
  * Attempt to merge selected track with other tracks specified by the user