Changeset 79 for trunk/src/helpers/gpih.c
- Timestamp:
- May 31, 2001, 9:13:25 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/gpih.c
r70 r79 650 650 * See gpihLockLCIDs for how to serialize this. 651 651 * 652 * Code was extensively re-tested, works (V0.9.12 (2001-05-31) [umoeller]). 653 * 652 654 *@@added V0.9.3 (2000-05-06) [umoeller] 653 655 *@@changed V0.9.9 (2001-04-01) [umoeller]: removed all those sick sub-allocs … … 664 666 // of objects for which information 665 667 // can be returned 668 669 // _Pmpf((__FUNCTION__ ": Entering")); 670 666 671 if (lCount == 0) 672 { 667 673 // none in use yet: 668 lcidNext = 1; 674 lcidNext = 15; 675 676 // _Pmpf((" no lcids in use")); 677 } 669 678 else 670 679 { … … 688 697 // FINALLY we have all the lcids in use. 689 698 BOOL fContinue = TRUE; 690 lcidNext = 1; 699 lcidNext = 15; 700 701 // _Pmpf((" %d fonts in use, browsing...", lCount)); 691 702 692 703 // now, check if this lcid is in use already: … … 711 722 // lcid found: 712 723 // try next higher one 724 725 // _Pmpf((" %d is busy...", lcidNext)); 726 713 727 lcidNext++; 714 728 fContinue = TRUE; 715 729 } 716 // else: return that one 730 // else 731 // else: return that one 732 // _Pmpf((" %d is free", lcidNext)); 717 733 } 718 734 } … … 815 831 */ 816 832 } 833 834 // _Pmpf((__FUNCTION__ ": Returning lcid %d", lcidNext)); 817 835 818 836 return (lcidNext); … … 1189 1207 } 1190 1208 1209 _Pmpf((__FUNCTION__ ": returning lcid %d", lLCIDReturn)); 1210 1191 1211 return (lLCIDReturn); 1192 1212 } … … 1274 1294 } 1275 1295 } 1296 1276 1297 return (0); 1277 1298 }
Note:
See TracChangeset
for help on using the changeset viewer.