From 8156614f58e7a96673b01b988cba21edc62875f8 Mon Sep 17 00:00:00 2001 From: itycodes Date: Sat, 6 Jul 2024 07:37:31 +0200 Subject: [PATCH] Print the output path when saving a screenshot Quality-of-life change; A user does not need to check the source code or look for a file in a messy directory. The path is subject to change, though (probably as a CLI parameter) --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 6f3b234..edbc540 100644 --- a/main.c +++ b/main.c @@ -133,5 +133,5 @@ int main() { // Thanks to endianess shenanigans, ABGR/XBGR is RGBA. write_rif_little("out.rif", image_width, buf_size, RIF_FORMAT_R8G8B8A8, shm_data); - printf("Saved screenshot.\n"); + printf("Saved screenshot to ./out.rif.\n"); }