Changeset 7361 for trunk/src/gdi32/dibsect.cpp
- Timestamp:
- Nov 16, 2001, 4:51:00 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/dibsect.cpp
r7327 r7361 1 /* $Id: dibsect.cpp,v 1. 59 2001-11-13 13:18:22 sandervlExp $ */1 /* $Id: dibsect.cpp,v 1.60 2001-11-16 15:50:59 phaller Exp $ */ 2 2 3 3 /* … … 786 786 DIBSection *DIBSection::findHDC(HDC hdc) 787 787 { 788 DIBSection *dsect = section; 789 790 while(dsect) 788 // PH 2001-08-18 shortcut for performance optimization 789 if (!section) 790 return NULL; 791 792 DIBSection *dsect = section; 793 794 do 791 795 { 792 796 if(dsect->hdc == hdc) … … 796 800 dsect = dsect->next; 797 801 } 802 while(dsect); 803 798 804 return(NULL); 799 805 }
Note:
See TracChangeset
for help on using the changeset viewer.