From 5afe1a53d8c662f26de048c8d954be323b96026b Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Wed, 14 Mar 2018 20:37:19 +0100 Subject: 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 --- packaging/ios/Subsurface-mobile/Subsurface-mobile.pro | 1 + 1 file changed, 1 insertion(+) (limited to 'packaging') 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 \ -- cgit v1.2.3-70-g09d2