aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file.c')
-rw-r--r--file.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/file.c b/file.c
index c4eaa09..7ae370e 100644
--- a/file.c
+++ b/file.c
@@ -1,4 +1,4 @@
-/* $Id: file.c,v 1.119 2002/11/15 15:56:36 ukai Exp $ */
+/* $Id: file.c,v 1.120 2002/11/15 15:57:16 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
@@ -4953,8 +4953,10 @@ HTMLlineproc2body(Buffer *buf, Str (*feed) (), int llimit)
image->url = parsedURL2Str(&u)->ptr;
image->ext = filename_extension(u.file, TRUE);
image->cache = NULL;
- image->width = (w > MAX_IMAGE_SIZE) ? MAX_IMAGE_SIZE: w;
- image->height = (h > MAX_IMAGE_SIZE) ? MAX_IMAGE_SIZE: h;
+ image->width =
+ (w > MAX_IMAGE_SIZE) ? MAX_IMAGE_SIZE : w;
+ image->height =
+ (h > MAX_IMAGE_SIZE) ? MAX_IMAGE_SIZE : h;
image->xoffset = xoffset;
image->yoffset = yoffset;
image->y = currentLn(buf) - top;