projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d62e58
)
renamed variable
author
Holger Schemel
<info@artsoft.org>
Mon, 4 Feb 2019 08:26:00 +0000
(09:26 +0100)
committer
Holger Schemel
<info@artsoft.org>
Mon, 4 Feb 2019 08:26:00 +0000
(09:26 +0100)
src/screens.c
patch
|
blob
|
history
diff --git
a/src/screens.c
b/src/screens.c
index 860fe3b5566b0bc42054a10eedd18965342549f1..c8bc6e66ad1c34db5e592dad8e32a57af675bff5 100644
(file)
--- a/
src/screens.c
+++ b/
src/screens.c
@@
-4065,8
+4065,8
@@
static void drawChooseTreeList(int first_entry, int num_page_entries,
int starty = mSY + ypos * 32;
int startx_text = startx + font_xoffset;
int endx_text = mSX + screen_width;
- int text_size = endx_text - startx_text;
- int max_buffer_len = text_size / getFontWidth(font_nr);
+ int
max_
text_size = endx_text - startx_text;
+ int max_buffer_len =
max_
text_size / getFontWidth(font_nr);
char buffer[max_buffer_len + 1];
node_first = getTreeInfoFirstGroupEntry(ti);