mirror of
https://github.com/labwc/labwc.git
synced 2026-06-13 14:33:18 -04:00
menu: fix comments for item_parse_accelerator()
This commit is contained in:
parent
634a3464bd
commit
e3ee330f5f
1 changed files with 2 additions and 2 deletions
|
|
@ -156,7 +156,7 @@ get_unicode_char_lowercase(const char *first_byte, size_t *out_bytes)
|
||||||
return (uint32_t)g_unichar_tolower(codepoint);
|
return (uint32_t)g_unichar_tolower(codepoint);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Retrieve the accelerator from an item label, remove doubled underscores */
|
/* Retrieve the accelerator from an item label */
|
||||||
static void
|
static void
|
||||||
item_parse_accelerator(struct menuitem *item, const char *text)
|
item_parse_accelerator(struct menuitem *item, const char *text)
|
||||||
{
|
{
|
||||||
|
|
@ -195,7 +195,7 @@ item_parse_accelerator(struct menuitem *item, const char *text)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Remove underscores used for escaping from a string */
|
/* Remove underscores used for escaping other underscores from a string */
|
||||||
static void
|
static void
|
||||||
unescape_underscores(char *text)
|
unescape_underscores(char *text)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue