mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[osdep] const in open_in_new
This commit is contained in:
parent
0f758ec5a4
commit
17caacfc78
@ -67,7 +67,7 @@ open_new_window(struct terminal *term, char *exe_name,
|
|||||||
int i;
|
int i;
|
||||||
|
|
||||||
foreach_open_in_new (i, environment) {
|
foreach_open_in_new (i, environment) {
|
||||||
command = open_in_new[i].command;
|
command = (char *)open_in_new[i].command;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ extern "C" {
|
|||||||
* of how new windows can be opened. */
|
* of how new windows can be opened. */
|
||||||
struct open_in_new {
|
struct open_in_new {
|
||||||
term_env_type_T env; /* The term->environment the entry covers */
|
term_env_type_T env; /* The term->environment the entry covers */
|
||||||
char *command; /* The default command for openning a window */
|
const char *command; /* The default command for openning a window */
|
||||||
char *text; /* The menu text */
|
char *text; /* The menu text */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user