[hackers] [st] same thing, really fixed this time. || Aurélien Aptel

From: <hg_AT_suckless.org>
Date: Wed, 13 May 2009 22:18:30 +0000 (UTC)

changeset: 47:4952a1e89acf
tag: tip
user: Aurélien Aptel <aurelien.aptel_AT_gmail.com>
date: Thu May 14 00:18:05 2009 +0200
files: st.c
description:
same thing, really fixed this time.

diff -r 3596b867705a -r 4952a1e89acf st.c
--- a/st.c Thu May 14 00:04:34 2009 +0200
+++ b/st.c Thu May 14 00:18:05 2009 +0200
@@ -703,7 +703,7 @@
 
         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 @@
 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, "");
Received on Wed May 13 2009 - 22:18:30 UTC

This archive was generated by hypermail 2.2.0 : Wed May 13 2009 - 22:24:02 UTC