diff options
author | Matt Holgate <matt@emobix.co.uk> | 2014-06-26 11:41:16 +0100 |
---|---|---|
committer | Matt Holgate <matt@emobix.co.uk> | 2014-06-26 11:59:21 +0100 |
commit | ab8ab6e087f464cab74e1b7d93771eb76ce3c493 (patch) | |
tree | 46149f4cac5879671131c0394f838bb4f0172a93 | |
parent | ca43cfebcad7fef14b954e9b300e5bf818bfe4c5 (diff) | |
download | mupdf-ab8ab6e087f464cab74e1b7d93771eb76ce3c493.tar.xz |
Add missing 'period' to files launched via 'Open In' before file extension.
Fixes bug #694711. As far as I could see, opening an XPS worked fine, the
first time. However, if the same file was opened a second time, then it
should have been saved with a number, e.g. foo(1).xps. However, the period
was ommitted, so the file wasn't recognised as an XPS.
This presumably wasn't an issue for PDF files, as PDF format is assumed
by default (I am guessing).
-rw-r--r-- | platform/ios/Classes/MuLibraryController.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/Classes/MuLibraryController.m b/platform/ios/Classes/MuLibraryController.m index c9e8840e..25ca6ea0 100644 --- a/platform/ios/Classes/MuLibraryController.m +++ b/platform/ios/Classes/MuLibraryController.m @@ -151,7 +151,7 @@ static NSString *alteredfilename(NSString *name, int i) NSString *nam = [name stringByDeletingPathExtension]; NSString *e = [name pathExtension]; - return [[[NSString alloc] initWithFormat:@"%@(%d)%@", nam, i, e] autorelease]; + return [[[NSString alloc] initWithFormat:@"%@(%d).%@", nam, i, e] autorelease]; } static NSString *moveOutOfInbox(NSString *docpath) |