Re: Starred Chats Sent Mail Drafts (2) All Mail Spam (2510) Trash Contacts Labels battlezone class 05-06 facebook mfinnic2@uiuc.edu myself Summer of Code wine-appdb (16) wine-bugs wine-devel (10) wine-patches (384) wtf-trafton Edit labels Invite a friend
15 May
2006
15 May
'06
3:42 p.m.
On Mon, May 15, 2006 11:28 am, Matt Finnicum wrote:
Hello!
Patch updated w/ Dimi Paun's advice (using #define's for the default and max values), and slightly cleaned up.
Well, not quite (maybe you've sent the wrong patch): + case EM_SETUNDOLIMIT: + { + if ((int)wParam < 0) + editor->nUndoLimit = 100; + else if ((int)wParam > 10000) + /* This should be high enough. it keeps wine from getting killed + from hogging memory. Windows allocates all this memory at once, so + no program would realisticly set a value this high */ + editor->nUndoLimit = 10000; + else + editor->nUndoLimit = wParam; + -- Dimi Paun <dimi(a)lattica.com> Lattica, Inc.
7156
Age (days ago)
7156
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dimi Paun