Changeset 1398 for trunk/dll/shadow.c
- Timestamp:
- Feb 21, 2009, 6:43:00 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/shadow.c
r1227 r1398 38 38 #include "wrappers.h" // xmalloc 39 39 #include "fortify.h" 40 #include "init.h" // Data declaration(s) 40 41 41 42 #pragma data_seg(DATA1) … … 91 92 return obj; 92 93 BldFullPathName(s, path, objtitle); 93 // sprintf(s, "%s%s%s", (path) ? path : "", (path) ? "\\" : "", objtitle);94 94 p = strrchr(objtitle, '.'); 95 95 if (p) { 96 if (!stricmp(p, ".ICO"))96 if (!stricmp(p, PCSZ_DOTICO)) 97 97 p = type[1]; 98 else if (!stricmp(p, ".BMP"))98 else if (!stricmp(p, PCSZ_DOTBMP)) 99 99 p = type[2]; 100 100 else … … 154 154 155 155 BldFullPathName(temp, path, objtitle); 156 // sprintf(temp,157 // "%s%s%s", (path) ? path : "", (path) ? "\\" : "", objtitle);158 156 p = strrchr(temp, '.'); 159 157 if (p) { 160 158 *p = 0; 161 strcat(p, ".ICO");159 strcat(p, PCSZ_DOTICO); 162 160 if (IsFile(temp) == 1) 163 161 sprintf(&s[strlen(s)], ";ICONFILE=%s", temp); … … 229 227 p = strrchr(list[x], '.'); 230 228 if (p) { 231 if (!stricmp(p, ".BAT") || !stricmp(p, ".CMD")) 229 if (!stricmp(p, PCSZ_DOTBAT) || !stricmp(p, PCSZ_DOTCMD) || 230 !stricmp(p, PCSZ_DOTBTM)) 232 231 apt |= FAPPTYP_BOUND; 233 232 }
Note:
See TracChangeset
for help on using the changeset viewer.