diff options
| author | Anselm R Garbe <garbeam@gmail.com> | 2008-08-18 09:31:55 +0100 |
|---|---|---|
| committer | Anselm R Garbe <garbeam@gmail.com> | 2008-08-18 09:31:55 +0100 |
| commit | b48fa3f101d2805882ab6a2a095e541b0cfe83f6 (patch) | |
| tree | d80250964be2c29a0488f2893654944977b67578 | |
| parent | added a comment about FAQ regarding mfact meaning (diff) | |
| download | dwm-b48fa3f101d2805882ab6a2a095e541b0cfe83f6.tar.gz dwm-b48fa3f101d2805882ab6a2a095e541b0cfe83f6.zip | |
removed setlocale() stuff, not necessary if Xmb in use
| -rw-r--r-- | dwm.c | 3 |
1 files changed, 1 insertions, 2 deletions
| @@ -24,7 +24,6 @@ | |||
| 24 | * To understand everything else, start reading main(). | 24 | * To understand everything else, start reading main(). |
| 25 | */ | 25 | */ |
| 26 | #include <errno.h> | 26 | #include <errno.h> |
| 27 | #include <locale.h> | ||
| 28 | #include <stdarg.h> | 27 | #include <stdarg.h> |
| 29 | #include <stdio.h> | 28 | #include <stdio.h> |
| 30 | #include <stdlib.h> | 29 | #include <stdlib.h> |
| @@ -1705,7 +1704,7 @@ main(int argc, char *argv[]) { | |||
| 1705 | else if(argc != 1) | 1704 | else if(argc != 1) |
| 1706 | die("usage: dwm [-v]\n"); | 1705 | die("usage: dwm [-v]\n"); |
| 1707 | 1706 | ||
| 1708 | if(!setlocale(LC_CTYPE, "") || !XSupportsLocale()) | 1707 | if(!XSupportsLocale()) |
| 1709 | fprintf(stderr, "warning: no locale support\n"); | 1708 | fprintf(stderr, "warning: no locale support\n"); |
| 1710 | 1709 | ||
| 1711 | if(!(dpy = XOpenDisplay(0))) | 1710 | if(!(dpy = XOpenDisplay(0))) |
