diff options
author | Daniel Stone <daniel@fooishbar.org> | 2013-02-28 10:48:40 -0800 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2013-03-19 10:53:37 +0000 |
commit | fbe5e6751e7ac806f8d55689e02966a1b995f3af (patch) | |
tree | e193e79801672c42d2264c187b5eaad9c753af50 /test | |
parent | d4c22ecc8a272da5d21f2b7991edf200b8873dea (diff) |
Add environment overrides for default RMLVO
You can now set default values in the environment, as well as a context
option to ignore the environment, e.g. for tests.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/rmlvo-to-kccgst.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/test/rmlvo-to-kccgst.c b/test/rmlvo-to-kccgst.c index bba2bde..bab725d 100644 --- a/test/rmlvo-to-kccgst.c +++ b/test/rmlvo-to-kccgst.c @@ -61,13 +61,6 @@ main(int argc, char *argv[]) } } - if (isempty(rmlvo.rules)) - rmlvo.rules = DEFAULT_XKB_RULES; - if (isempty(rmlvo.model)) - rmlvo.model = DEFAULT_XKB_MODEL; - if (isempty(rmlvo.layout)) - rmlvo.layout = DEFAULT_XKB_LAYOUT; - ctx = test_get_context(0); if (!ctx) { fprintf(stderr, "Failed to get xkb context\n"); |