diff options
author | Aurélien Aptel <aurelien.aptel@gmail.com> | 2009-05-14 00:18:05 +0200 |
---|---|---|
committer | Aurélien Aptel <aurelien.aptel@gmail.com> | 2009-05-14 00:18:05 +0200 |
commit | 633983cfc7b315e27203784aeb0580e1322ef4c4 (patch) | |
tree | 9d6e9b5303f4547a06bc040e46b67070c1682fb4 /st.c | |
parent | e6b37f2f8724bf6977569c7a617c3c1d7eae80d8 (diff) | |
download | st-633983cfc7b315e27203784aeb0580e1322ef4c4.tar.gz st-633983cfc7b315e27203784aeb0580e1322ef4c4.tar.bz2 |
same thing, really fixed this time.
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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, ""); |