Rev 7244 | Rev 7278 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7244 | Rev 7256 | ||
---|---|---|---|
Line 6... | Line 6... | ||
6 | char ext[512]; |
6 | char ext[512]; |
7 | int i; |
7 | int i; |
8 | dword icon_n; |
8 | dword icon_n; |
9 | dword selected_image; |
9 | dword selected_image; |
10 | dword default_image; |
10 | dword default_image; |
- | 11 | dword default_icon; |
|
Line 11... | Line 12... | ||
11 | 12 | ||
12 | if (big_icons.checked) { |
13 | if (big_icons.checked) { |
13 | icons_ini.section = "icons32"; |
14 | icons_ini.section = "icons32"; |
14 | selected_image = icons32_selected.image; |
15 | selected_image = icons32_selected.image; |
- | 16 | default_image = icons32_default.image; |
|
15 | default_image = icons32_default.image; |
17 | default_icon=95; |
16 | } |
18 | } |
17 | else { |
19 | else { |
18 | icons_ini.section = "icons16"; |
20 | icons_ini.section = "icons16"; |
19 | selected_image = icons16_selected.image; |
21 | selected_image = icons16_selected.image; |
- | 22 | default_image = icons16_default.image; |
|
20 | default_image = icons16_default.image; |
23 | default_icon=2; |
Line 21... | Line 24... | ||
21 | } |
24 | } |
22 | 25 | ||
23 | if (extension) |
26 | if (extension) |
24 | { |
27 | { |
25 | strcpy(#ext, extension); |
28 | strcpy(#ext, extension); |
26 | strlwr(#ext); |
29 | strlwr(#ext); |
27 | icon_n = icons_ini.GetInt(#ext, 2); |
30 | icon_n = icons_ini.GetInt(#ext, default_icon); |
28 | } |
31 | } |
29 | else if (file_path) |
32 | else if (file_path) |
30 | { |
33 | { |