• Home
  • Forums
  • Library
  • Links
  • Bounties
 
 
 
 
Login Block
Nickname

Password



Lost Password?

Don't have an account?
Register now!
Search


Advanced Search
Forum Index
 » 
Developer Forums
 » 
Development
charsets library examples
  • walkero
    # 15
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    walkero
    Posts: 104 from 2006/3/1
    Could be a problem that with:

    Code:
    UnLock(CurrentDir(OldLock));


    only you leave the NewLock still locked?

    What I mean, have you tried

    Code:
    UnLock(CurrentDir(OldLock));
    UnLock(NewLock);


    If I were you, what I would do is:
    at line https://github.com/BeWorld2018/SDL/blob/MorphOS-SDL-2/src/core/morphos/devenv/sdl-startup.c#L83
    I would add:
    Code:
    UnLock(NewLock);

    Since you do not need it any more.

    and I would change the lines https://github.com/BeWorld2018/SDL/blob/MorphOS-SDL-2/src/core/morphos/devenv/sdl-startup.c#L106-L110
    to:
    Code:
    if (OldLock)
    {
    UnLock(OldLock);


    [ Edited by walkero 28.02.2024 - 17:03 ]
  • »28.02.24 - 10:50
    Profile Visit Website