1 | diff -crB mc-4.8.10/src/filemanager/midnight.c mc-4.8.10-b/src/filemanager/midnight.c |
---|
2 | *** mc-4.8.10/src/filemanager/midnight.c Fri Aug 2 20:02:40 2013 |
---|
3 | --- mc-4.8.10-b/src/filemanager/midnight.c Tue Aug 13 15:30:43 2013 |
---|
4 | *************** |
---|
5 | *** 591,598 **** |
---|
6 | * right panel uses mc_run_param1 |
---|
7 | * |
---|
8 | * 'mc dir1' (single argument): mc_run_param0 != NULL, mc_run_param1 == NULL |
---|
9 | ! * active panel uses current directory |
---|
10 | ! * passive panel uses mc_run_param0 |
---|
11 | */ |
---|
12 | |
---|
13 | /* Set up panel directories */ |
---|
14 | --- 591,598 ---- |
---|
15 | * right panel uses mc_run_param1 |
---|
16 | * |
---|
17 | * 'mc dir1' (single argument): mc_run_param0 != NULL, mc_run_param1 == NULL |
---|
18 | ! * active panel uses mc_run_param0 |
---|
19 | ! * passive panel uses "other_dir" from ini |
---|
20 | */ |
---|
21 | |
---|
22 | /* Set up panel directories */ |
---|
23 | *************** |
---|
24 | *** 619,626 **** |
---|
25 | else /* mc_run_param0 != NULL && mc_run_param1 == NULL */ |
---|
26 | { |
---|
27 | /* one argument */ |
---|
28 | ! current_dir = NULL; /* assume current dir */ |
---|
29 | ! other_dir = (char *) mc_run_param0; |
---|
30 | } |
---|
31 | } |
---|
32 | else |
---|
33 | --- 619,626 ---- |
---|
34 | else /* mc_run_param0 != NULL && mc_run_param1 == NULL */ |
---|
35 | { |
---|
36 | /* one argument */ |
---|
37 | ! current_dir = (char *) mc_run_param0; |
---|
38 | ! other_dir = saved_other_dir; /* from ini */ |
---|
39 | } |
---|
40 | } |
---|
41 | else |
---|
42 | *************** |
---|
43 | *** 646,653 **** |
---|
44 | else /* mc_run_param0 != NULL && mc_run_param1 == NULL */ |
---|
45 | { |
---|
46 | /* one argument */ |
---|
47 | ! current_dir = NULL; /* assume current dir */ ; |
---|
48 | ! other_dir = (char *) mc_run_param0; |
---|
49 | } |
---|
50 | } |
---|
51 | |
---|
52 | --- 646,653 ---- |
---|
53 | else /* mc_run_param0 != NULL && mc_run_param1 == NULL */ |
---|
54 | { |
---|
55 | /* one argument */ |
---|
56 | ! current_dir = (char *) mc_run_param0; |
---|
57 | ! other_dir = saved_other_dir; /* from ini */ |
---|
58 | } |
---|
59 | } |
---|
60 | |
---|