Ignore:
Timestamp:
Dec 29, 1999, 11:54:04 PM (26 years ago)
Author:
cbratschi
Message:

new mapping functions, fixed 1 pixel and window handle bugs

File:
1 edited

Legend:

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

    r1944 r2257  
    1 /* $Id: caret.cpp,v 1.8 1999-12-02 16:34:43 cbratschi Exp $ */
     1/* $Id: caret.cpp,v 1.9 1999-12-29 22:53:59 cbratschi Exp $ */
    22
    33/*
     
    148148        else
    149149        {
    150            long height = wnd->getWindowHeight();
     150           long height = wnd->getClientHeight();
    151151           caretPos.y = height - caretPos.y - 1;
    152152           xNew = caretPos.x;
     
    197197            cursorInfo.y = caretPos.y;
    198198         } else {
    199             long height  = wnd->getWindowHeight();
     199            long height  = wnd->getClientHeight();
    200200            caretPos.y  += cursorInfo.cy;
    201201            cursorInfo.y = height - caretPos.y - 1;
Note: See TracChangeset for help on using the changeset viewer.