Ignore:
Timestamp:
Sep 30, 2000, 12:28:10 AM (25 years ago)
Author:
sandervl
Message:

Edit control fix for Acrobat Distiller

File:
1 edited

Legend:

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

    r3584 r4344  
    1 /* $Id: edit.cpp,v 1.39 2000-05-22 17:21:07 cbratschi Exp $ */
     1/* $Id: edit.cpp,v 1.40 2000-09-29 22:28:10 sandervl Exp $ */
    22/*
    33 *      Edit control
     
    40254025static void EDIT_WM_SetText(HWND hwnd, EDITSTATE *es, LPCSTR text)
    40264026{
     4027#ifdef __WIN32OS2__
     4028        //SvL: Acrobat Distiller keeps on sending WM_SETTEXT with the same
     4029        //     string in responds to a WM_COMMAND with EN_UPDATE -> stack
     4030        //     overflow (TODO: Need to check if this behaviour is correct compared to NT)
     4031        if(text && es->text) {
     4032                if(!strcmp(es->text, text)) {
     4033                        return;
     4034                }
     4035        }
     4036#endif
    40274037        es->selection_start = 0;
    40284038        es->selection_end = lstrlenA(es->text);
Note: See TracChangeset for help on using the changeset viewer.