1
0
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:
Witold Filipczyk 2022-02-17 19:37:50 +01:00
parent 0f758ec5a4
commit 17caacfc78
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ open_new_window(struct terminal *term, char *exe_name,
int i;
foreach_open_in_new (i, environment) {
command = open_in_new[i].command;
command = (char *)open_in_new[i].command;
break;
}

View File

@ -11,7 +11,7 @@ extern "C" {
* of how new windows can be opened. */
struct open_in_new {
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 */
};