diff options
author | Tor Lillqvist <tml@collabora.com> | 2021-08-24 14:46:48 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2021-08-24 18:02:40 +0300 |
commit | 65b8001d73006442dc8bdd5f072cc7eead94ef3e (patch) | |
tree | 26334f23b497123f80cfd78acbbd639dfbfc1e18 /common | |
parent | Update CFBundleShortVersionString to match configure.ac (diff) | |
download | online-65b8001d73006442dc8bdd5f072cc7eead94ef3e.tar.gz online-65b8001d73006442dc8bdd5f072cc7eead94ef3e.zip |
Remove more leftover files taking space in the iOS app
Remove the app's copy of the document after core has saved it and we
have stored the edited version at its real location.
Remove possible leftover tile bitmaps when the app starts.
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: Ibc41be38c2cfb689c532640d148116bc06a248ab
Diffstat (limited to 'common')
-rw-r--r-- | common/RenderTiles.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/RenderTiles.hpp b/common/RenderTiles.hpp index 49442f3e4a..d0e002760e 100644 --- a/common/RenderTiles.hpp +++ b/common/RenderTiles.hpp @@ -571,7 +571,7 @@ namespace RenderTiles const int offsetX = positionX * pixelWidth; const int offsetY = positionY * pixelHeight; - NSString *mmapFileBaseName = [NSString stringWithFormat:@"%d.bmp", bmpId]; + NSString *mmapFileBaseName = [NSString stringWithFormat:@"tiles/%d.bmp", bmpId]; NSURL *mmapFileURL = [[NSFileManager.defaultManager temporaryDirectory] URLByAppendingPathComponent:mmapFileBaseName]; int fd = open([[mmapFileURL path] UTF8String], O_RDWR|O_CREAT, 0666); |