summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2018-02-14 20:46:16 -0500
committerJune McEnroe <programble@gmail.com>2018-02-14 20:46:16 -0500
commit2675e1b83491c6b3bd24ce6d7c99703c1fd8a6b2 (patch)
treeca2683df1891fdd26b38b52624cabcfa9ee29e80 /bin
parentAdd gfxx 4444 preset (diff)
downloadsrc-2675e1b83491c6b3bd24ce6d7c99703c1fd8a6b2.tar.gz
src-2675e1b83491c6b3bd24ce6d7c99703c1fd8a6b2.zip
Print PNG path on gfxx dump
Diffstat (limited to '')
-rw-r--r--bin/gfxx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/gfxx.c b/bin/gfxx.c
index 9eae971d..674b68c9 100644
--- a/bin/gfxx.c
+++ b/bin/gfxx.c
@@ -335,6 +335,7 @@ static void pngDump(uint32_t *src, size_t srcWidth, size_t srcHeight) {
     snprintf(pngPath, sizeof(pngPath), "%s%04u.png", prefix, counter++);
     png = fopen(pngPath, "wx");
     if (!png) err(EX_CANTCREAT, "%s", pngPath);
+    printf("%s\n", pngPath);
 
     const uint8_t SIGNATURE[] = { 0x89, 'P', 'N', 'G', '\r', '\n', 0x1A, '\n' };
     const uint8_t HEADER[] = { 8, 2, 0, 0, 0 }; // 8-bit RGB
tr class='nohover-highlight'> But keep it disabled for READMEs since they always use non-standard sections and the TOC is just distracting there, I think. Also add the style so its h1 is the same size as the ones inside sections... 2020-09-11Install mandoc on macOSJune McEnroe 2020-09-11Rewrite install script yet againJune McEnroe 2020-09-11Remove NetBSD from install scriptJune McEnroe I never use it. 2020-09-11Use MacPorts rather than pkgsrcJune McEnroe My system is probably such a mess now... 2020-09-11Add debian VM name to sshJune McEnroe 2020-09-11Add influencer tweetJune McEnroe 2020-09-10Add The Kingdom of GodsJune McEnroe Reading has really slowed down :( 2020-09-07Add SunglassesJune McEnroe An IRC find. 2020-09-06Add Between the BreathsJune McEnroe One of those good songs from a soundtrack of a film that probably isn't? The summary sounds a lot more interesting than the title implies, at least. 2020-09-04Open /dev/tty in nudgeJune McEnroe This makes it work even when it's run connected to a pipe, i.e. as the notify command of catgirl... 2020-09-04Add nudgeJune McEnroe 2020-09-03Build fbclock with -lzJune McEnroe I guess this got lost somewhere, long ago... 2020-08-29Add tweets from retweetsJune McEnroe