Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
virtboard
Commits
81c5b9e8
Commit
81c5b9e8
authored
Dec 14, 2018
by
Guido Gunther
Browse files
Merge branch 'crash_layout' into 'master'
Layouts: Fix crash on no layout set See merge request
!31
parents
0c36205e
6c538c47
Pipeline
#2587
passed with stage
in 49 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
clients/keyboard.c
View file @
81c5b9e8
...
...
@@ -870,7 +870,7 @@ update_keymap(struct virtual_keyboard *virtual_keyboard)
{
const
char
*
keymap_str
=
default_keymap_str
;
for
(
unsigned
i
=
0
;
i
<
layouts_count
;
i
++
)
{
if
(
strcmp
(
layouts
[
i
]
->
language
,
if
(
g_
strcmp
0
(
layouts
[
i
]
->
language
,
virtual_keyboard
->
preferred_layout
)
==
0
)
{
keymap_str
=
layouts
[
i
]
->
keymap_str
;
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment