same thing, really fixed this time. - st - Personal fork of st (HTM) git clone git://git.drkhsh.at/st.git (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 86fa756033e9072a4b114a50896baff36b804ce4 (DIR) parent ccafacb3ff22c85516ff46a88275097936dfe442 (HTM) Author: Aurélien Aptel <aurelien.aptel@gmail.com> Date: Thu, 14 May 2009 00:18:05 +0200 same thing, really fixed this time. Diffstat: M st.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- (DIR) diff --git a/st.c b/st.c @@ -703,7 +703,7 @@ xinit(void) { xw.dis = XOpenDisplay(NULL); xw.scr = XDefaultScreen(xw.dis); - if(!(xw.dis && xw.scr)) + if(!xw.dis) die("can not open display"); /* font */ @@ -916,7 +916,7 @@ run(void) { int main(int argc, char *argv[]) { if(argc == 2 && !strncmp("-v", argv[1], 3)) - die("st-"", © 2009 st engineers\n"); + die("st-" VERSION ", © 2009 st engineers\n"); else if(argc != 1) die("usage: st [-v]\n"); setlocale(LC_CTYPE, "");