diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2010-07-13 22:32:03 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2010-07-13 22:32:03 +0000 |
commit | 12df55d0950b58f716a01f276905cb74fe55ce2c (patch) | |
tree | 63ee8ee956a8c7ee0b3cb0365343f312566cf7a8 /render/directory.c | |
parent | 1b49494d6ee9426d437f06b918eea3854fd5398d (diff) | |
download | netsurf-12df55d0950b58f716a01f276905cb74fe55ce2c.tar.gz netsurf-12df55d0950b58f716a01f276905cb74fe55ce2c.tar.bz2 |
Move directory text into type column
svn path=/trunk/netsurf/; revision=10632
Diffstat (limited to 'render/directory.c')
-rw-r--r-- | render/directory.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/render/directory.c b/render/directory.c index b6a9e05ba..f2233a153 100644 --- a/render/directory.c +++ b/render/directory.c @@ -124,7 +124,7 @@ bool directory_convert(struct content *c) { if(up[strlen(up) - 1] == '/') up[strlen(up) - 1] = '\0'; snprintf(buffer, sizeof(buffer), "<tr bgcolor=\"#CCCCFF\"><td><b><a href=\"%s\">%s</a></td>" \ - "<td>%s</td><td> </td><td> </td></tr>\n", + "<td> </td><td> </td><td>%s</td></tr>\n", up, messages_get("FileParent"), messages_get("FileDirectory")); binding_parse_chunk(c->data.html.parser_binding, @@ -190,12 +190,12 @@ bool directory_convert(struct content *c) { if(S_ISDIR(filestat.st_mode)) { snprintf(buffer, sizeof(buffer), - "<td>%s</td><td>%s</td><td> </td>\n", - messages_get("FileDirectory"), modtime); + "<td> </td><td>%s</td><td>%s</td>\n", + modtime, messages_get("FileDirectory")); } else { snprintf(buffer, sizeof(buffer), - "<td>%d</td><td>%s</td><td>%s</td>\n", + "<td>%ld</td><td>%s</td><td>%s</td>\n", filestat.st_size, modtime, mimetype); } } |