From: Ali Gholami Rudi Date: Fri, 4 Nov 2011 13:56:09 +0000 (+0330) Subject: config.h: rename SCREENSHOT to SCRSHOT X-Git-Url: https://repo.or.cz/w/fbpad.git/commitdiff_plain/abf620201411c5624d0b8f34cd049c34c38e76e6 config.h: rename SCREENSHOT to SCRSHOT --- diff --git a/config.h b/config.h index ede247e..4c66fd0 100644 --- a/config.h +++ b/config.h @@ -34,7 +34,7 @@ #define COLOR15 0xdedede /* where to write the screen shot */ -#define SCREENSHOT "/tmp/scr" +#define SCRSHOT "/tmp/scr" /* framebuffer depth */ typedef unsigned int fbval_t; diff --git a/term.c b/term.c index 7869ab1..4a43ee1 100644 --- a/term.c +++ b/term.c @@ -401,7 +401,7 @@ static int writeutf8(char *dst, int c) void term_screenshot(void) { char buf[1 << 11]; - int fd = open(SCREENSHOT, O_CREAT | O_TRUNC | O_WRONLY, 0600); + int fd = open(SCRSHOT, O_CREAT | O_TRUNC | O_WRONLY, 0600); int i, j; for (i = 0; i < pad_rows(); i++) { char *s = buf;