diff -r 9b754f1b7e16 -r acd8c4a9d3fe application/window.c --- a/application/window.c Tue Jun 11 21:31:21 2024 +0200 +++ b/application/window.c Tue Jun 11 21:45:39 2024 +0200 @@ -82,24 +82,19 @@ void* window_resource_table_getvalue(DavResource *res, int col) { switch (col) { - case 0: - { // icon + case 0: { // icon return res->iscollection ? folder_icon : file_icon; } - case 1: - { // resource name + case 1: { // resource name return res->name; } - case 2: - { // type + case 2: { // type return res->iscollection ? "Collection" : (res->contenttype ? res->contenttype : "Resource"); } - case 3: - { // last modified + case 3: { // last modified return util_date_str(res->lastmodified); } - case 4: - { // size + case 4: { // size return util_size_str(res->iscollection, res->contentlength); } }