changeset: 1325:5456239bb8ad
tag: tip
user: Anselm R Garbe <garbeam_AT_gmail.com>
date: Mon Aug 18 09:31:55 2008 +0100
files: dwm.c
description:
removed setlocale() stuff, not necessary if Xmb in use
diff -r c7d3198c9e9b -r 5456239bb8ad dwm.c
--- a/dwm.c Mon Aug 18 09:11:15 2008 +0100
+++ b/dwm.c Mon Aug 18 09:31:55 2008 +0100
@@ -24,7 +24,6 @@
* To understand everything else, start reading main().
*/
#include <errno.h>
-#include <locale.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
@@ -1705,7 +1704,7 @@
else if(argc != 1)
die("usage: dwm [-v]\n");
- if(!setlocale(LC_CTYPE, "") || !XSupportsLocale())
+ if(!XSupportsLocale())
fprintf(stderr, "warning: no locale support\n");
if(!(dpy = XOpenDisplay(0)))
Received on Mon Aug 18 2008 - 08:31:59 UTC
This archive was generated by hypermail 2.2.0 : Mon Aug 18 2008 - 08:36:10 UTC