notaz.gp2x.de
/
libpicofe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62128ba
)
fix position of menu entries if length > 10
author
kub
<derkub@gmail.com>
Fri, 26 Mar 2021 19:06:43 +0000
(20:06 +0100)
committer
kub
<derkub@gmail.com>
Wed, 26 Jan 2022 19:39:48 +0000
(19:39 +0000)
menu.c
patch
|
blob
|
blame
|
history
diff --git
a/menu.c
b/menu.c
index
65cb26a
..
6c6392a
100644
(file)
--- a/
menu.c
+++ b/
menu.c
@@
-630,7
+630,7
@@
static void me_draw(const menu_entry *entries, int sel, void (*draw_more)(void))
offs = x + col2_offs;
\r
len = strlen(names[i]);
\r
if (len > 10)
\r
- offs += (10 - len
- 2
) * me_mfont_w;
\r
+ offs += (10 - len) * me_mfont_w;
\r
if (offs < leftname_end)
\r
offs = leftname_end;
\r
if (i == *(int *)ent->var) {
\r