projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
removed redundant initialization
[rocksndiamonds.git]
/
src
/
editor.c
diff --git
a/src/editor.c
b/src/editor.c
index b2bb56b958ff47fa38df4693d2955a5b44c0b828..4cbaf83acd07d910bc87cab4b4b2155fffa47879 100644
(file)
--- a/
src/editor.c
+++ b/
src/editor.c
@@
-12621,7
+12621,7
@@
static int DrawLevelText(int sx, int sy, char letter, int mode)
static int start_sx;
static int last_sx, last_sy;
static boolean typing = FALSE;
- int letter_element
= EL_CHAR_ASCII0 + letter
;
+ int letter_element;
int lx = 0, ly = 0;
// map lower case letters to upper case and convert special characters