~ubuntu-branches/ubuntu/breezy/libx11/breezy

« back to all changes in this revision

Viewing changes to src/StrKeysym.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Stone
  • Date: 2005-09-30 16:30:55 UTC
  • Revision ID: james.westby@ubuntu.com-20050930163055-dfterq3qv2h111u0
Tags: 1:6.2.1+cvs.20050722-8
Fix non-UTF-8 locales by fixing generation of compose.dir, locale.alias,
and locale.dir in nls/ (closes: Ubuntu#13724).

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
#include "ks_tables.h"
39
39
#include "Key.h"
40
40
 
41
 
#ifndef KEYSYMDB
42
 
#define KEYSYMDB "/usr/lib/X11/XKeysymDB"
 
41
#ifndef XKEYSYMDB
 
42
#define XKEYSYMDB "/usr/lib/X11/XKeysymDB"
43
43
#endif
44
44
 
45
45
static Bool initialized;
58
58
        /* implementation-dependent feature */
59
59
        dbname = getenv("XKEYSYMDB");
60
60
        if (!dbname)
61
 
            dbname = KEYSYMDB;
 
61
            dbname = XKEYSYMDB;
62
62
        keysymdb = XrmGetFileDatabase(dbname);
63
63
        if (keysymdb)
64
64
            Qkeysym[0] = XrmStringToQuark("Keysym");