More code cosmetic and formatting fixes to remove warnings while building with clang
Fix forgotten return in Mercator bearing calculation
Fix forgotten return in Mercator bearing calculation
strncpy buffer overflow fixed (FS#987)
Merge pull request #44 from kheyse/strncpy_overflow

strncpy buffer overflow fixed (FS#987)
Replace logical AND by binary AND. Fixes #40 and FS#975.
Merge pull request #45 from kheyse/boolean_and

Replace logical AND by binary AND. Fixes #40 and FS#975.
Fix DSC target position calculations (ChuckSK - http://www.cruisersforum.com/forums/f134/o-3-2-and-dsc-100992-2.html#post1200978)
Fix the regression introduced by the previous commit
Merged with master