Browse Source

removed setlocale() stuff, not necessary if Xmb in use

config
Anselm R Garbe 16 years ago
parent
commit
b48fa3f101
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      dwm.c

+ 1
- 2
dwm.c View File

@ -24,7 +24,6 @@
* To understand everything else, start reading main(). * To understand everything else, start reading main().
*/ */
#include <errno.h> #include <errno.h>
#include <locale.h>
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
@ -1705,7 +1704,7 @@ main(int argc, char *argv[]) {
else if(argc != 1) else if(argc != 1)
die("usage: dwm [-v]\n"); die("usage: dwm [-v]\n");
if(!setlocale(LC_CTYPE, "") || !XSupportsLocale())
if(!XSupportsLocale())
fprintf(stderr, "warning: no locale support\n"); fprintf(stderr, "warning: no locale support\n");
if(!(dpy = XOpenDisplay(0))) if(!(dpy = XOpenDisplay(0)))


Loading…
Cancel
Save