diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-03-14 20:37:19 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-04-09 11:29:43 -0700 |
commit | 5afe1a53d8c662f26de048c8d954be323b96026b (patch) | |
tree | 0a45d68019e94160f2d402c34334a73c1bafcd5f /packaging/ios | |
parent | 36249f27802540e541bae132a7b644b4a8a2f148 (diff) | |
download | subsurface-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.pro | 1 |
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 \ |