mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-29 10:38:47 +08:00
change some data to const
This commit is contained in:
parent
1806611363
commit
4c8b43f381
@ -84,7 +84,7 @@ enum BreakAction
|
||||
* adjusted after special processing as per LB8a of Revision 41) and CB
|
||||
* (manually added as per LB20).
|
||||
*/
|
||||
static enum BreakAction baTable[LBP_CB][LBP_CB] = {
|
||||
static const enum BreakAction baTable[LBP_CB][LBP_CB] = {
|
||||
{ /* OP */
|
||||
PRH_BRK, PRH_BRK, PRH_BRK, PRH_BRK, PRH_BRK, PRH_BRK, PRH_BRK,
|
||||
PRH_BRK, PRH_BRK, PRH_BRK, PRH_BRK, PRH_BRK, PRH_BRK, PRH_BRK,
|
||||
|
@ -8,7 +8,7 @@ typedef struct _color_map_t {
|
||||
const char* value;
|
||||
} color_map_t;
|
||||
|
||||
static color_map_t colors_map[] = {{"aliceblue", "#f0f8ff"},
|
||||
static color_map_t const colors_map[] = {{"aliceblue", "#f0f8ff"},
|
||||
{"antiquewhite", "#faebd7"},
|
||||
{"aqua", "#00ffff"},
|
||||
{"aquamarine", "#7fffd4"},
|
||||
|
Loading…
Reference in New Issue
Block a user