aboutsummaryrefslogtreecommitdiffstats
path: root/thumbs.c
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2024-06-12 23:34:11 +0200
committerNRK <nrk@disroot.org>2024-06-18 17:11:36 +0200
commit9b8cdcff482a518c24d31ce74524543bb7015102 (patch)
tree6822284dedd1da944ad306664e2b48dd0a6f682d /thumbs.c
parent1fbff6d5392f8914bcc471b8472e81b5a4a703df (diff)
downloadnsxiv-9b8cdcff482a518c24d31ce74524543bb7015102.tar.zst
some minor comment nitpick
Diffstat (limited to 'thumbs.c')
-rw-r--r--thumbs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thumbs.c b/thumbs.c
index d91405e..9909333 100644
--- a/thumbs.c
+++ b/thumbs.c
@@ -43,7 +43,7 @@ static char *tns_cache_filepath(const char *filepath)
size_t len;
char *cfile = NULL;
- assert(*filepath == '/' && "filepath should be result of realpath(3)");
+ assert(*filepath == '/' && "filepath must be result of realpath(3)");
if (strncmp(filepath, cache_dir, strlen(cache_dir)) != 0) {
/* don't cache images inside the cache directory! */