aboutsummaryrefslogtreecommitdiff
path: root/src/dillo.cc
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2011-10-23 01:29:40 +0000
committercorvid <corvid@lavabit.com>2011-10-23 01:29:40 +0000
commit25af9dc9697fef5854984415d402e54121acb1cb (patch)
treeb79e04300e55e0fa7f6ceb2aa4e5abe8c38c96c1 /src/dillo.cc
parentb040679dee4a3cc867e23fb9a93d49eddd5874a8 (diff)
back out c6cbf3ae7ffd (LC_CTYPE)
I'd asked furaisanjin about input methods, and it sounded like it would be okay, but it turns out that something goes wrong on his system after all (LANG and the various LC_* set to ja_JP.eucJP normally, "while converting to Kanji, font width is half and it's not easy to recognize.") So I can't get away with the lazy fix after all.
Diffstat (limited to 'src/dillo.cc')
-rw-r--r--src/dillo.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/dillo.cc b/src/dillo.cc
index 8c720e5a..b05cb16a 100644
--- a/src/dillo.cc
+++ b/src/dillo.cc
@@ -321,16 +321,6 @@ int main(int argc, char **argv)
}
dFree(opt_argv);
-
- /* On X, the first fl_open_display() sets the LC_CTYPE aspect of the locale
- * from the environment, so let's trigger it ourselves so that we can
- * deal with this. For our purposes, this is very bad in Turkic locales
- * where 'i' and 'I' are different letters, and strcasecmp(), toupper(),
- * tolower() no longer work as expected. So we reset it to the C locale.
- */
- fl_open_display();
- setlocale(LC_CTYPE, "C");
-
// set the default values for the preferences
a_Prefs_init();