mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-12-05 20:25:32 +00:00
improve formatting of fox
This commit is contained in:
1 parent
907450a63d
commit
c05b900fe6
1 file changed
+1
@@ -31,6 +31,7 @@ int getImageSize(const char* utf8Path, BOOL appendLineFeed)
|
||||
NSInteger width = [representation pixelsWide];
|
||||
NSInteger height = [representation pixelsHigh];
|
||||
NSString *extension = [[path pathExtension] lowercaseString];
|
||||
|
||||
if ([extension isEqualToString:@"svg"])
|
||||
{
|
||||
width = [image size].width;
|
||||
|
||||
Reference in new issue
Block a user