vm: do not ignore file extension when selecting file editor (#423)
This commit is contained in:
parent
a4a9632a5a
commit
7a190d4171
@ -110,7 +110,7 @@ main()
|
|||||||
|
|
||||||
setenv("HOME", "/home/user", 1);
|
setenv("HOME", "/home/user", 1);
|
||||||
setenv("DISPLAY", ":0", 1);
|
setenv("DISPLAY", ":0", 1);
|
||||||
execl("/usr/bin/mimeopen", "mimeopen", "-n", "-M", filename, (char*)NULL);
|
execl("/usr/bin/mimeopen", "mimeopen", "-n", filename, (char*)NULL);
|
||||||
perror("execl");
|
perror("execl");
|
||||||
exit(1);
|
exit(1);
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user