- Timestamp:
- Aug 18, 2001, 5:49:24 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/dibsect.cpp
r5972 r6557 1 /* $Id: dibsect.cpp,v 1.5 5 2001-06-12 17:01:10 sandervlExp $ */1 /* $Id: dibsect.cpp,v 1.56 2001-08-18 03:49:24 phaller Exp $ */ 2 2 3 3 /* … … 751 751 DIBSection *DIBSection::findObj(HANDLE handle) 752 752 { 753 DIBSection *dsect = section; 754 753 // PH 2001-08-18 shortcut for performance optimization 754 if (!section) 755 return NULL; 756 757 DIBSection *dsect = section; 755 758 dibMutex.enter(); 756 while(dsect) 759 760 do 757 761 { 758 762 if(dsect->handle == handle) … … 763 767 dsect = dsect->next; 764 768 } 769 while(dsect); 770 765 771 dibMutex.leave(); 766 772 return(NULL);
Note:
See TracChangeset
for help on using the changeset viewer.