svn path=/trunk/netsurf/; revision=10675
This commit is contained in:
François Revel 2010-08-02 21:49:20 +00:00
parent d4ea23abab
commit f2cb00870b
1 changed files with 2 additions and 1 deletions

View File

@ -303,6 +303,7 @@ bool dirlist_generate_row(bool even, bool directory, char *url, char *name,
{
const char *unit;
char size_string[100];
int error;
if (size < 0) {
unit = "";
@ -313,7 +314,7 @@ bool dirlist_generate_row(bool even, bool directory, char *url, char *name,
dirlist_filesize_value((unsigned long)size));
}
int error = snprintf(buffer, buffer_length,
error = snprintf(buffer, buffer_length,
"<a href=\"%s\" class=\"%s %s\">"
"<span class=\"name\">%s</span> "
"<span class=\"type\">%s</span> "