From 3d03b360b890b16b77f48e389e81b4d193ab53a5 Mon Sep 17 00:00:00 2001 From: Mrchiantos <51173452+Mrchiantos@users.noreply.github.com> Date: Sun, 21 Jul 2019 23:49:57 +0200 Subject: [PATCH] fix --- src/porting.h | 1 - src/porting_ios.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/src/porting.h b/src/porting.h index 542eea407..aee8e3297 100644 --- a/src/porting.h +++ b/src/porting.h @@ -144,7 +144,6 @@ extern std::string path_share; Linux: "~/." Mac: "~/Library/Application Support/" */ -extern std::string path_share; /* Path to gettext locale files diff --git a/src/porting_ios.cpp b/src/porting_ios.cpp index 114f83759..d2a2dbc2a 100644 --- a/src/porting_ios.cpp +++ b/src/porting_ios.cpp @@ -34,7 +34,6 @@ namespace porting { ioswrap_paths(PATH_DOCUMENTS, buf, sizeof(buf)); path_share = std::string(buf); ioswrap_paths(PATH_LIBRARY_SUPPORT, buf, sizeof(buf)); - path_share = std::string(buf); path_locale = std::string(buf) + "/locale"; ioswrap_paths(PATH_LIBRARY_CACHE, buf, sizeof(buf)); path_cache = std::string(buf);