Ignore:
Timestamp:
Oct 9, 2005, 3:11:51 PM (20 years ago)
Author:
pr
Message:

Update functions using exception handlers to force non-register variables

File:
1 edited

Legend:

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

    r257 r297  
    1919
    2020/*
    21  *      Copyright (C) 2001-2002 Ulrich M”ller.
     21 *      Copyright (C) 2001-2005 Ulrich M”ller.
    2222 *      This file is part of the "XWorkplace helpers" source package.
    2323 *      This is free software; you can redistribute it and/or modify
     
    258258                    ULONG cEntities)            // in: array item count of paEntities or 0
    259259{
    260     BOOL    fLocked = FALSE;
     260    volatile BOOL    fLocked = FALSE; // XWP V1.0.4 (2005-10-09) [pr]
    261261
    262262    TRY_LOUD(excpt1)
     
    342342PCSZ nlsGetString(ULONG ulStringID)
    343343{
    344     BOOL    fLocked = FALSE;
     344    volatile BOOL    fLocked = FALSE; // XWP V1.0.4 (2005-10-09) [pr]
    345345    PSZ     pszReturn = "Error";
    346346
     
    394394            pszReturn = "Cannot get strings lock.";
    395395    }
    396     CATCH(excpt1) {} END_CATCH();
     396    CATCH(excpt1)
     397    {
     398        pszReturn = "Error";
     399    }
     400    END_CATCH();
    397401
    398402    if (fLocked)
     
    402406}
    403407
    404 
Note: See TracChangeset for help on using the changeset viewer.