summaryrefslogtreecommitdiffstats
path: root/smenu.h
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2023-04-19 00:15:14 +0200
committerpgen <p.gen.progs@gmail.com>2023-04-19 00:15:14 +0200
commit1c1cb2a18bb092207515a96136fe401fa021b630 (patch)
tree96974de5840db9281a915445331160c1027e1515 /smenu.h
parentdedcd6726eac41c364b305fbaa9cc2fb79e69271 (diff)
Start to reduce memory consumption
The type of special_level in the structure word_s is changed to unsigned char.
Diffstat (limited to 'smenu.h')
-rw-r--r--smenu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/smenu.h b/smenu.h
index 29e1618..229eaf2 100644
--- a/smenu.h
+++ b/smenu.h
@@ -308,7 +308,7 @@ struct word_s
long tag_order; /* each time a word is tagged, this value. *
| is increased. */
unsigned short tag_id; /* tag id. 0 means no tag. */
- size_t special_level; /* can vary from 0 to 9; 0 meaning normal. */
+ unsigned char special_level; /* can vary from 0 to 9; 0 meaning normal. */
char * str; /* display string associated with this word */
size_t len; /* number of bytes of str (for trimming). */
char * orig; /* NULL or original string if is had been. *