mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
do_type_query: Make known_types[] const.
This commit is contained in:
parent
c62e9f9eae
commit
a565365a8d
@ -1265,7 +1265,7 @@ do_type_query(struct type_query *type_query, unsigned char *ct, struct mime_hand
|
||||
struct {
|
||||
unsigned char *type;
|
||||
unsigned int plain:1;
|
||||
} static known_types[] = {
|
||||
} static const known_types[] = {
|
||||
{ "text/html", 0 },
|
||||
{ "text/plain", 1 },
|
||||
{ "application/xhtml+xml", 0 }, /* RFC 3236 */
|
||||
|
Loading…
Reference in New Issue
Block a user