mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-01 00:54:24 +03:00
* background.c (background_attention): Fix calling functions
with wrong arguments, which resulted in segmentation faults.
This commit is contained in:
parent
35c57c4a3f
commit
0e9e693c9d
@ -1,3 +1,8 @@
|
||||
2002-09-28 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* background.c (background_attention): Fix calling functions
|
||||
with wrong arguments, which resulted in segmentation faults.
|
||||
|
||||
2002-09-27 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* file.c (panel_operate): Replace fancy internationalized
|
||||
|
@ -313,7 +313,7 @@ background_attention (int fd, void *closure)
|
||||
|
||||
/* Handle the call */
|
||||
if (type == Return_Integer){
|
||||
if (have_ctx)
|
||||
if (!have_ctx)
|
||||
switch (argc){
|
||||
case 1:
|
||||
result = (*(int (*)(int, char *))routine)(Background, data [0]);
|
||||
|
Loading…
Reference in New Issue
Block a user