aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/ios
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-03-14 20:37:19 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-04-09 11:29:43 -0700
commit5afe1a53d8c662f26de048c8d954be323b96026b (patch)
tree0a45d68019e94160f2d402c34334a73c1bafcd5f /packaging/ios
parent36249f27802540e541bae132a7b644b4a8a2f148 (diff)
downloadsubsurface-5afe1a53d8c662f26de048c8d954be323b96026b.tar.gz
Cleanup: Move *_loc formatting functions into new format.cpp file
qthelper.cpp is already quite voluminous. Move the recently introduced localized versions of (v)snprintf() and put_format() into their own translation unit. Moreover, adopt C-style semantics for asprintf_loc(). This function will be used to remove fixed-size buffers in core/plannernotes.c. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'packaging/ios')
-rw-r--r--packaging/ios/Subsurface-mobile/Subsurface-mobile.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/packaging/ios/Subsurface-mobile/Subsurface-mobile.pro b/packaging/ios/Subsurface-mobile/Subsurface-mobile.pro
index 2ff93243b..c43f13930 100644
--- a/packaging/ios/Subsurface-mobile/Subsurface-mobile.pro
+++ b/packaging/ios/Subsurface-mobile/Subsurface-mobile.pro
@@ -27,6 +27,7 @@ SOURCES += ../../../subsurface-mobile-main.cpp \
../../../core/divesitehelpers.cpp \
../../../core/errorhelper.c \
../../../core/exif.cpp \
+ ../../../core/format.cpp \
../../../core/gettextfromc.cpp \
../../../core/isocialnetworkintegration.cpp \
../../../core/metrics.cpp \