From 1bf5fe1c270a808abc6ee5f731cdc1176e00d0fb Mon Sep 17 00:00:00 2001 From: Torsten Dreyer Date: Sat, 12 Mar 2016 20:55:46 +0100 Subject: [PATCH] Fix for FreeBSD and a typo Fix provided by Ganael LAPLANCHE, thanks! --- 3rdparty/hts_engine_API/lib/HTS_misc.c | 2 +- src/GUI/{ndb-small-icon .png => ndb-small-icon.png} | Bin src/GUI/resources.qrc | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/GUI/{ndb-small-icon .png => ndb-small-icon.png} (100%) diff --git a/3rdparty/hts_engine_API/lib/HTS_misc.c b/3rdparty/hts_engine_API/lib/HTS_misc.c index 72306cb66..b0d112d32 100644 --- a/3rdparty/hts_engine_API/lib/HTS_misc.c +++ b/3rdparty/hts_engine_API/lib/HTS_misc.c @@ -245,7 +245,7 @@ size_t HTS_ftell(HTS_File * fp) } else if (fp->type == HTS_FILE) { fpos_t pos; fgetpos((FILE *) fp->pointer, &pos); -#if defined(_WIN32) || defined(__CYGWIN__) || defined(__APPLE__) || defined(__ANDROID__) +#if defined(_WIN32) || defined(__CYGWIN__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__ANDROID__) return (size_t) pos; #else return (size_t) pos.__pos; diff --git a/src/GUI/ndb-small-icon .png b/src/GUI/ndb-small-icon.png similarity index 100% rename from src/GUI/ndb-small-icon .png rename to src/GUI/ndb-small-icon.png diff --git a/src/GUI/resources.qrc b/src/GUI/resources.qrc index bc76f27b3..7dc2ebd03 100644 --- a/src/GUI/resources.qrc +++ b/src/GUI/resources.qrc @@ -15,7 +15,7 @@ airport-tower-icon.png vor-dme-icon.png seaport-tower-icon.png - ndb-small-icon .png + ndb-small-icon.png ndb-large-icon.png airplane-icon.png airport-closed-icon.png