PATCH:collect keyboard corresponding selected lang in chooseKeyboard

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
As you know, Japanese(and other some language) font column
of lang-table is none.
so even if user select Japanese as Language, default keyboard
is not also set to jp106.

so I made patch which check loaderData->lang before "LANG".

Would you review attached file, please?

thank you.
diff -u -r1.11 kbd.c
--- loader2/kbd.c       12 Jun 2006 17:43:59 -0000      1.11
+++ loader2/kbd.c       28 Jun 2007 09:59:10 -0000
@@ -70,9 +70,9 @@

     numLanguages = getLangInfo(&languages);

-    lang = getenv("LANG");
+    lang = loaderData->lang;
     if (!lang)
-       lang = loaderData->lang;
+       lang = getenv("LANG");

     if (!defkbd && lang) {
        for (i = 0; i < numLanguages; i++) {

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux