Commit 2fe13a1f authored by Jon Turney's avatar Jon Turney
Browse files

hw/xwin: Drop call to setlocale()

Since we now only work with UTF-8 (or ISO8859-1) text in the clipboard,
we don't need to setlocale().
parent f269e01e
......@@ -35,7 +35,6 @@ from The Open Group.
#include "winmsg.h"
#include "winconfig.h"
#include "winprefs.h"
#include "X11/Xlocale.h"
#ifdef DPMSExtension
#include "dpmsproc.h"
......@@ -1018,14 +1017,6 @@ InitOutput(ScreenInfo * pScreenInfo, int argc, char *argv[])
if (g_fXdmcpEnabled || g_fAuthEnabled)
/* Perform some one time initialization */
if (1 == serverGeneration) {
* setlocale applies to all threads in the current process.
* Apply locale specified in LANG environment variable.
setlocale(LC_ALL, "");
winDebug("InitOutput - Returning.\n");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment