From abf620201411c5624d0b8f34cd049c34c38e76e6 Mon Sep 17 00:00:00 2001 From: Ali Gholami Rudi Date: Fri, 4 Nov 2011 17:26:09 +0330 Subject: [PATCH] config.h: rename SCREENSHOT to SCRSHOT --- config.h | 2 +- term.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.11.4.GIT