Rev 4049 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4049 | Rev 4225 | ||
---|---|---|---|
Line 31... | Line 31... | ||
31 | case 0x0d: |
31 | case 0x0d: |
32 | InfType=PARAM; |
32 | InfType=PARAM; |
33 | IF (!strcmp(#parametr,"SelectionColor")) edit2.shift_color=col_selec=StrToCol(#option); |
33 | IF (!strcmp(#parametr,"SelectionColor")) edit2.shift_color=col_selec=StrToCol(#option); |
34 | IF (!strcmp(#parametr,"LineHeight")) files.line_h = atoi(#option); |
34 | IF (!strcmp(#parametr,"LineHeight")) files.line_h = atoi(#option); |
35 | IF (!strcmp(#parametr,"ShowDeviceName")) show_dev_name=atoi(#option); |
35 | IF (!strcmp(#parametr,"ShowDeviceName")) show_dev_name=atoi(#option); |
- | 36 | IF (!strcmp(#parametr,"RealFileNamesCase")) real_files_names_case=atoi(#option); |
|
Line 36... | Line 37... | ||
36 | 37 | ||
37 | IF (parametr) && (!strcmp(#file_name+strrchr(#file_name,'.'),#parametr)) && (!onload) |
38 | IF (parametr) && (!strcmp(#file_name+strrchr(#file_name,'.'),#parametr)) && (!onload) |
38 | { |
39 | { |
- | 40 | errornum = RunProgram(#option,#file_path); |
|
- | 41 | if (errornum<0) |
|
39 | errornum=RunProgram(#option,#file_path); |
42 | { |
- | 43 | if (errornum==-5) ShowOpenWithDialog(); else Write_Error(errornum); |
|
40 | IF (errornum<0) Write_Error(errornum); |
44 | } |
41 | return; |
45 | return; |
42 | } |
46 | } |
43 | parametr=option=NULL; |
47 | parametr=option=NULL; |
44 | break; |
48 | break; |