use space not emsp

git-svn-id: file:///raid/svn-personal/tewi/trunk@60 8739d7e6-ffea-ec47-b151-bdff447c6205
This commit is contained in:
Nishi 2024-09-18 12:30:33 +00:00
parent b025ecd433
commit b3622fefc5
2 changed files with 5 additions and 2 deletions

View File

@ -12,6 +12,7 @@ UninstPage instfiles
Section
CreateDirectory "$INSTDIR\etc"
CreateDirectory "$INSTDIR\www"
CreateDirectory "$INSTDIR\www\icons"
CreateDirectory "$INSTDIR\bin"
SetOutPath "$INSTDIR\bin"
File "tewi.exe"
@ -19,6 +20,8 @@ Section
File /oname=tewi.conf.default "../example-win.conf"
SetOutPath "$INSTDIR\www"
File /oname=index.html "../itworks.html"
SetOutPath "$INSTDIR\www\icons"
File "../Icons/*.png"
CreateDirectory "$SMPROGRAMS\Tewi HTTPd"
CreateShortcut "$SMPROGRAMS\Tewi HTTPd\Start Tewi HTTPd.lnk" "$INSTDIR\bin\tewi.exe" ""

View File

@ -620,8 +620,8 @@ void tw_server_pass(int sock, bool ssl, int port, SOCKADDR addr) {
addstring(&str, "<tr>\n");
addstring(&str, " <td><img src=\"%s\" alt=\"icon\"></td>\n", icon);
addstring(&str, " <td><a href=\"%l\"><code>%h</code></a></td>\n", items[i], itm);
addstring(&str, " <td><code>&emsp;&emsp;%h&emsp;&emsp;</code></td>\n", showmime);
addstring(&str, " <td><code>&emsp;&emsp;%s&emsp;&emsp;</code></td>\n", size);
addstring(&str, " <td><code> %h </code></td>\n", showmime);
addstring(&str, " <td><code> %s </code></td>\n", size);
addstring(&str, "</tr>\n");
free(itm);
}