Ignore:
Timestamp:
Oct 22, 1999, 8:11:51 PM (26 years ago)
Author:
sandervl
Message:

Lots of changes/fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/timer.cpp

    r1094 r1405  
    1 /* $Id: timer.cpp,v 1.4 1999-09-29 09:31:18 dengert Exp $ */
     1/* $Id: timer.cpp,v 1.5 1999-10-22 18:11:47 sandervl Exp $ */
    22
    33/*
     
    177177{
    178178    UINT rc;
    179     USHORT sel = RestoreOS2FS();
    180179
    181180    dprintf(("USER32: SetTimer %04x %d %d %08lx", hwnd, id, timeout, (LONG)proc));
    182181
    183182    rc = TIMER_SetTimer (hwnd, id, timeout, proc, FALSE);
    184     SetFS(sel);
    185183    return (rc);
    186184}
     
    192190{
    193191    UINT rc;
    194     USHORT sel = RestoreOS2FS();
    195192
    196193    dprintf(("USER32: SetSystemTimer %04x %d %d %08lx", hwnd, id, timeout, (LONG)proc));
    197194
    198195    rc = TIMER_SetTimer (hwnd, id, timeout, proc, TRUE);
    199     SetFS(sel);
    200196    return (rc);
    201197}
     
    207203{
    208204    BOOL rc;
    209     USHORT sel = RestoreOS2FS();
    210205
    211206    dprintf(("USER32: KillTimer %04x %d", hwnd, id));
    212207
    213208    rc = TIMER_KillTimer (hwnd, id, FALSE);
    214     SetFS(sel);
    215209    return (rc);
    216210}
     
    222216{
    223217    BOOL rc;
    224     USHORT sel = RestoreOS2FS();
    225218
    226219    dprintf(("USER32: KillSystemTimer %04x %d", hwnd, id));
    227220
    228221    rc = TIMER_KillTimer (hwnd, id, TRUE);
    229     SetFS(sel);
    230     return (rc);
    231 }
    232 
     222    return (rc);
     223}
     224
Note: See TracChangeset for help on using the changeset viewer.