Add missing prefix
This commit is contained in:
parent
482953d769
commit
33e4660f97
2 changed files with 2 additions and 2 deletions
2
sq2lv.c
2
sq2lv.c
|
|
@ -128,7 +128,7 @@ static int get_destination_layer_index_for_layer_switcher(lv_obj_t *keyboard, ui
|
||||||
* Public functions
|
* Public functions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
sq2lv_layout_id_t find_layout_with_short_name(const char *name) {
|
sq2lv_layout_id_t sq2lv_find_layout_with_short_name(const char *name) {
|
||||||
for (int i = 0; i < sq2lv_num_layouts; ++i) {
|
for (int i = 0; i < sq2lv_num_layouts; ++i) {
|
||||||
if (strcmp(sq2lv_layouts[i].short_name, name) == 0) {
|
if (strcmp(sq2lv_layouts[i].short_name, name) == 0) {
|
||||||
return i;
|
return i;
|
||||||
|
|
|
||||||
2
sq2lv.h
2
sq2lv.h
|
|
@ -29,7 +29,7 @@
|
||||||
* @param name layout short name
|
* @param name layout short name
|
||||||
* @return ID of the first matching layout or SQ2LV_LAYOUT_NONE if no layout matched
|
* @return ID of the first matching layout or SQ2LV_LAYOUT_NONE if no layout matched
|
||||||
*/
|
*/
|
||||||
sq2lv_layout_id_t find_layout_with_short_name(const char *name);
|
sq2lv_layout_id_t sq2lv_find_layout_with_short_name(const char *name);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Apply a layout to a keyboard.
|
* Apply a layout to a keyboard.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue