weston-simple-im: Make capitalization consistent in error messages
Signed-off-by: Bryce Harrington <bryce@osg.samsung.com> Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
This commit is contained in:
@@ -197,13 +197,13 @@ input_method_keyboard_keymap(void *data,
|
|||||||
close(fd);
|
close(fd);
|
||||||
|
|
||||||
if (!keyboard->keymap) {
|
if (!keyboard->keymap) {
|
||||||
fprintf(stderr, "failed to compile keymap\n");
|
fprintf(stderr, "Failed to compile keymap\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
keyboard->state = xkb_state_new(keyboard->keymap);
|
keyboard->state = xkb_state_new(keyboard->keymap);
|
||||||
if (!keyboard->state) {
|
if (!keyboard->state) {
|
||||||
fprintf(stderr, "failed to create XKB state\n");
|
fprintf(stderr, "Failed to create XKB state\n");
|
||||||
xkb_keymap_unref(keyboard->keymap);
|
xkb_keymap_unref(keyboard->keymap);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -489,7 +489,7 @@ main(int argc, char *argv[])
|
|||||||
|
|
||||||
simple_im.display = wl_display_connect(NULL);
|
simple_im.display = wl_display_connect(NULL);
|
||||||
if (simple_im.display == NULL) {
|
if (simple_im.display == NULL) {
|
||||||
fprintf(stderr, "failed to connect to server: %m\n");
|
fprintf(stderr, "Failed to connect to server: %m\n");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user