commit 5ff7ffdffe25acaf7eea9b9a60daf0bb50d084ab
parent d9110cac0b7310db7a48cba612a54e4da68f6150
Author: ukai <ukai>
Date: Wed, 25 Dec 2002 16:18:19 +0000
fix indent
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/w3mimg/fb/fb_w3mimg.c b/w3mimg/fb/fb_w3mimg.c
@@ -88,7 +88,7 @@ w3mfb_show_image(w3mimg_op * self, W3MImage * img, int sx, int sy,
return 0;
if (img->pixmap == NULL)
- return 0;
+ return 0;
frame = (FB_IMAGE **) img->pixmap;
i = frame[0]->id;
@@ -143,9 +143,9 @@ check_tty_console(char *tty)
return 0;
if (strncmp(tty, "/dev/", 5) == 0)
tty += 5;
- if (strncmp(tty, "tty", 3) == 0 && isdigit(*(tty+3)))
+ if (strncmp(tty, "tty", 3) == 0 && isdigit(*(tty + 3)))
return 1;
- if (strncmp(tty, "vc/", 3) == 0 && isdigit(*(tty+3)))
+ if (strncmp(tty, "vc/", 3) == 0 && isdigit(*(tty + 3)))
return 1;
return 0;
}
@@ -162,7 +162,7 @@ w3mimg_fbopen()
return NULL;
memset(wop, 0, sizeof(w3mimg_op));
- if (! check_tty_console(getenv("W3M_TTY"))) {
+ if (!check_tty_console(getenv("W3M_TTY"))) {
fprintf(stderr, "w3mimgdisplay/fb: tty is not console\n");
goto error;
}