aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-03-10 15:55:15 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-03-10 15:55:15 +0000
commitba2011ee1d1ef4c2580d2427666d135be8d1836b (patch)
tree6cf92ee1081ca52de0d9d77d06d5564698e64fa2 /file.c
parent[w3m-dev 03096] displayBuffer (diff)
downloadw3m-ba2011ee1d1ef4c2580d2427666d135be8d1836b.tar.gz
w3m-ba2011ee1d1ef4c2580d2427666d135be8d1836b.zip
[w3m-dev 03106] Re: displayBuffer
* display.c (displayBuffer): revert previous changes * file.c (process_img): remove space in src attribute From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'file.c')
-rw-r--r--file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/file.c b/file.c
index b764851..2e9875b 100644
--- a/file.c
+++ b/file.c
@@ -1,4 +1,4 @@
-/* $Id: file.c,v 1.79 2002/03/08 16:58:12 ukai Exp $ */
+/* $Id: file.c,v 1.80 2002/03/10 15:55:15 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
@@ -2784,6 +2784,7 @@ process_img(struct parsed_tag *tag, int width)
if (!parsedtag_get_value(tag, ATTR_SRC, &p))
return tmp;
+ p = remove_space(p);
q = NULL;
parsedtag_get_value(tag, ATTR_ALT, &q);
w = -1;