From 9ac1db3cf65b7e34c972e0d5f618351296a7f712 Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Mon, 9 Mar 2026 03:37:28 +0900 Subject: [PATCH] should be TODO --- src/crc.c | 4 ++-- src/simple.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/crc.c b/src/crc.c index 3d8a05b..b08a571 100644 --- a/src/crc.c +++ b/src/crc.c @@ -13,9 +13,9 @@ unsigned int crc32(void* input, unsigned int len) { i = 0; crc = 0xFFFFFFFF; while(i < len) { - byte = message[i]; // Get next byte. + byte = message[i]; /* Get next byte. */ crc = crc ^ byte; - for(j = 7; j >= 0; j--) { // Do eight times. + for(j = 7; j >= 0; j--) { /* Do eight times. */ mask = -(crc & 1); crc = (crc >> 1) ^ (0xEDB88320 & mask); } diff --git a/src/simple.c b/src/simple.c index 9ef283d..4f0338b 100644 --- a/src/simple.c +++ b/src/simple.c @@ -223,7 +223,7 @@ void simple_body(FILE* out, const char* top, const char* title, xl_node_t* body) free(nodes); } - /* should this be default behavior? */ + /* TODO: should this be default behavior? */ if(strcmp(top, "") != 0 && title != NULL) project_desc = (char*)title; if((nodes = xl_get_path(skinconf->root, "copyright.year")) != NULL) {