removed setlocale() stuff, not necessary if Xmb in use
b48fa3f1
1 file(s) · +1 −2
| 24 | 24 | * To understand everything else, start reading main(). |
|
| 25 | 25 | */ |
|
| 26 | 26 | #include <errno.h> |
|
| 27 | - | #include <locale.h> |
|
| 28 | 27 | #include <stdarg.h> |
|
| 29 | 28 | #include <stdio.h> |
|
| 30 | 29 | #include <stdlib.h> |
|
| 1705 | 1704 | else if(argc != 1) |
|
| 1706 | 1705 | die("usage: dwm [-v]\n"); |
|
| 1707 | 1706 | ||
| 1708 | - | if(!setlocale(LC_CTYPE, "") || !XSupportsLocale()) |
|
| 1707 | + | if(!XSupportsLocale()) |
|
| 1709 | 1708 | fprintf(stderr, "warning: no locale support\n"); |
|
| 1710 | 1709 | ||
| 1711 | 1710 | if(!(dpy = XOpenDisplay(0))) |
|