Browse Source

same thing, really fixed this time.

master
Aurélien Aptel 15 years ago
parent
commit
86fa756033
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      st.c

+ 2
- 2
st.c View File

@ -703,7 +703,7 @@ xinit(void) {
xw.dis = XOpenDisplay(NULL); xw.dis = XOpenDisplay(NULL);
xw.scr = XDefaultScreen(xw.dis); xw.scr = XDefaultScreen(xw.dis);
if(!(xw.dis && xw.scr))
if(!xw.dis)
die("can not open display"); die("can not open display");
/* font */ /* font */
@ -916,7 +916,7 @@ run(void) {
int int
main(int argc, char *argv[]) { main(int argc, char *argv[]) {
if(argc == 2 && !strncmp("-v", argv[1], 3)) 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) else if(argc != 1)
die("usage: st [-v]\n"); die("usage: st [-v]\n");
setlocale(LC_CTYPE, ""); setlocale(LC_CTYPE, "");


Loading…
Cancel
Save