Ignore:
Timestamp:
Nov 17, 1999, 6:06:23 PM (26 years ago)
Author:
cbratschi
Message:

cursor handling fixed

File:
1 edited

Legend:

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

    r1724 r1762  
    1 /* $Id: edit.cpp,v 1.14 1999-11-13 16:42:41 cbratschi Exp $ */
     1/* $Id: edit.cpp,v 1.15 1999-11-17 17:04:52 cbratschi Exp $ */
    22/*
    33 *      Edit control
     
    26272627        switch (c) {
    26282628        case '\r':
    2629             /* If the edit doesn't want the return and it's not a multiline edit, do nothing */
    2630             if(!(es->style & ES_MULTILINE) && !(es->style & ES_WANTRETURN))
    2631                 break;
     2629            /* If the edit doesn't want the return and it's not a multiline edit, do nothing */
     2630            if(!(es->style & ES_MULTILINE) && !(es->style & ES_WANTRETURN))
     2631                break;
    26322632        case '\n':
    26332633                if (es->style & ES_MULTILINE) {
     
    32853285        EDIT_EM_SetSel(hwnd, es, es->selection_start, e, after_wrap);
    32863286
    3287         return 1; //SvL: Bugfix -> PMWINDOW expects non-zero return value if
    3288                   //               we want to restore the default mouse cursor
     3287        return 0;
    32893288}
    32903289
Note: See TracChangeset for help on using the changeset viewer.