Changeset 877 for trunk/dll/presparm.c
- Timestamp:
- Nov 24, 2007, 8:50:52 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/dll/presparm.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/presparm.c
r872 r877 325 325 326 326 ULONG AttrFound, AttrValue[64], cbRetLen, x = 0, 327 AttrName[] = { PP_FONTNAMESIZE, PP_BACKGROUNDCOLOR, 328 PP_FOREGROUNDCOLOR, PP_HILITEBACKGROUNDCOLOR, 329 PP_HILITEFOREGROUNDCOLOR, PP_BORDERCOLOR, 330 0 331 }; 332 333 while (AttrName[x]) { 327 AttrName[] = { PP_FONTNAMESIZE, PP_FOREGROUNDCOLOR, 328 PP_BACKGROUNDCOLOR, PP_HILITEBACKGROUNDCOLOR, 329 PP_HILITEFOREGROUNDCOLOR, PP_BORDERCOLOR}; 330 331 for (x=0; x < 6; x++) { 334 332 cbRetLen = WinQueryPresParam(source, 335 333 AttrName[x], 336 334 0, 337 335 &AttrFound, 338 (ULONG) sizeof(AttrValue), &AttrValue, 0); 336 sizeof(AttrValue), 337 &AttrValue, 0); 338 //printf("%s %x\n", AttrValue, source); fflush(stdout); 339 //printf("%x\n", AttrValue); fflush(stdout); 339 340 if (cbRetLen) 340 341 WinSetPresParam(target, AttrName[x], cbRetLen, (PVOID) AttrValue); 341 x++; 342 } 342 } //for 343 343 } 344 344
Note:
See TracChangeset
for help on using the changeset viewer.
