Rev 7004 | Rev 7051 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7004 | Rev 7041 | ||
---|---|---|---|
Line 140... | Line 140... | ||
140 | eolite_ini_path = abspath("Eolite.ini"); |
140 | eolite_ini_path = abspath("Eolite.ini"); |
Line 141... | Line 141... | ||
141 | 141 | ||
142 | LoadIniSettings(); |
142 | LoadIniSettings(); |
143 | SystemDiscs.Get(); |
143 | SystemDiscs.Get(); |
- | 144 | SetAppColors(); |
|
- | 145 | ||
- | 146 | //-p just show file/folder properties dialog |
|
- | 147 | if (param) && (param[0]=='-') && (param[1]=='p') |
|
- | 148 | { |
|
- | 149 | strcpy(#file_path, #param + 3); |
|
- | 150 | strcpy(#file_name, #param + strrchr(#param, '/')); |
|
- | 151 | properties_dialog(); |
|
- | 152 | ExitProcess(); |
|
- | 153 | } |
|
144 | SetAppColors(); |
154 | |
145 | if (param) |
155 | if (param) |
146 | { |
156 | { |
Line 147... | Line 157... | ||
147 | if (strlen(#param)>1) && (param[strlen(#param)-1]=='/') param[strlen(#param)-1]=NULL; //no "/" in the end |
157 | if (strlen(#param)>1) && (param[strlen(#param)-1]=='/') param[strlen(#param)-1]=NULL; //no "/" in the end |