Ignore:
Timestamp:
May 31, 2001, 9:13:25 PM (24 years ago)
Author:
umoeller
Message:

Fixes to dialogs and other stuff.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/gpih.c

    r70 r79  
    650650 *      See gpihLockLCIDs for how to serialize this.
    651651 *
     652 *      Code was extensively re-tested, works (V0.9.12 (2001-05-31) [umoeller]).
     653 *
    652654 *@@added V0.9.3 (2000-05-06) [umoeller]
    653655 *@@changed V0.9.9 (2001-04-01) [umoeller]: removed all those sick sub-allocs
     
    664666                             //  of objects for which information
    665667                             //  can be returned
     668
     669    // _Pmpf((__FUNCTION__ ": Entering"));
     670
    666671    if (lCount == 0)
     672    {
    667673        // none in use yet:
    668         lcidNext = 1;
     674        lcidNext = 15;
     675
     676        // _Pmpf(("  no lcids in use"));
     677    }
    669678    else
    670679    {
     
    688697                // FINALLY we have all the lcids in use.
    689698                BOOL    fContinue = TRUE;
    690                 lcidNext = 1;
     699                lcidNext = 15;
     700
     701                // _Pmpf(("  %d fonts in use, browsing...", lCount));
    691702
    692703                // now, check if this lcid is in use already:
     
    711722                        // lcid found:
    712723                        // try next higher one
     724
     725                        // _Pmpf(("       %d is busy...", lcidNext));
     726
    713727                        lcidNext++;
    714728                        fContinue = TRUE;
    715729                    }
    716                     // else: return that one
     730                    // else
     731                        // else: return that one
     732                        // _Pmpf(("  %d is free", lcidNext));
    717733                }
    718734            }
     
    815831        */
    816832    }
     833
     834    // _Pmpf((__FUNCTION__ ": Returning lcid %d", lcidNext));
    817835
    818836    return (lcidNext);
     
    11891207    }
    11901208
     1209    _Pmpf((__FUNCTION__ ": returning lcid %d", lLCIDReturn));
     1210
    11911211    return (lLCIDReturn);
    11921212}
     
    12741294        }
    12751295    }
     1296
    12761297    return (0);
    12771298}
Note: See TracChangeset for help on using the changeset viewer.