diff options
author | Ran Benita <ran234@gmail.com> | 2013-02-25 12:09:17 +0200 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2013-03-18 22:20:03 +0000 |
commit | 4a59c84e43116f4a05922c273b037fe91df9d0f6 (patch) | |
tree | 2d84238b668e487bdca96d1e750bf948e704a737 /src | |
parent | e95dac76f2fd795356eabb50ad02aafc1f82770a (diff) |
keymap-dump: remove some ugly empty lines
xkbcomp prints them too, but that's just annoying. Also xkb_keycodes
doesn't have it already.
Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/keymap-dump.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/keymap-dump.c b/src/keymap-dump.c index 380980b..256b036 100644 --- a/src/keymap-dump.c +++ b/src/keymap-dump.c @@ -185,10 +185,10 @@ static bool write_types(struct xkb_keymap *keymap, struct buf *buf) { if (keymap->types_section_name) - write_buf(buf, "xkb_types \"%s\" {\n\n", + write_buf(buf, "xkb_types \"%s\" {\n", keymap->types_section_name); else - write_buf(buf, "xkb_types {\n\n"); + write_buf(buf, "xkb_types {\n"); write_vmods(keymap, buf); @@ -414,10 +414,10 @@ write_compat(struct xkb_keymap *keymap, struct buf *buf) const struct xkb_led *led; if (keymap->compat_section_name) - write_buf(buf, "xkb_compatibility \"%s\" {\n\n", + write_buf(buf, "xkb_compatibility \"%s\" {\n", keymap->compat_section_name); else - write_buf(buf, "xkb_compatibility {\n\n"); + write_buf(buf, "xkb_compatibility {\n"); write_vmods(keymap, buf); @@ -495,10 +495,10 @@ write_symbols(struct xkb_keymap *keymap, struct buf *buf) xkb_layout_index_t group; if (keymap->symbols_section_name) - write_buf(buf, "xkb_symbols \"%s\" {\n\n", + write_buf(buf, "xkb_symbols \"%s\" {\n", keymap->symbols_section_name); else - write_buf(buf, "xkb_symbols {\n\n"); + write_buf(buf, "xkb_symbols {\n"); for (group = 0; group < keymap->num_group_names; group++) if (keymap->group_names[group]) |