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
  • branches/branch-1-0/src/helpers/nlscache.c

    r278 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
     
    279279PCSZ nlsGetString(ULONG ulStringID)
    280280{
    281     BOOL    fLocked = FALSE;
     281    volatile BOOL    fLocked = FALSE; // XWP V1.0.4 (2005-10-09) [pr]
    282282    PSZ     pszReturn = "Error";
    283283
     
    331331            pszReturn = "Cannot get strings lock.";
    332332    }
    333     CATCH(excpt1) {} END_CATCH();
     333    CATCH(excpt1)
     334    {
     335        pszReturn = "Error";
     336    }
     337    END_CATCH();
    334338
    335339    if (fLocked)
Note: See TracChangeset for help on using the changeset viewer.