Ignore:
Timestamp:
Oct 17, 2000, 12:26:53 AM (25 years ago)
Author:
sandervl
Message:

fs fixes for font & line callbacks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gdi32/CALLBACK.CPP

    r2802 r4492  
    1 /* $Id: CALLBACK.CPP,v 1.4 2000-02-16 14:18:09 sandervl Exp $ */
     1/* $Id: CALLBACK.CPP,v 1.5 2000-10-16 22:26:53 sandervl Exp $ */
    22
    33/*
     
    1313#include "misc.h"
    1414#include "callback.h"
     15#include <wprocess.h>
    1516
    1617#define DBG_LOCALLOG    DBG_callback
     
    4344{
    4445 LineDDAProcCallback *me = (LineDDAProcCallback *)lpData;
     46 USHORT selTIB = SetWin32TIB(); // save current FS selector and set win32 sel
    4547
    4648  me->pCallback(X, Y, me->lpUserData);
     49  SetFS(selTIB);           // switch back to the saved FS selector
    4750  return;
    4851}
Note: See TracChangeset for help on using the changeset viewer.