# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1317353546 0 # Node ID 196cd8a8e6a87c209562264ed7bbc8d020fef8b9 # Parent 88b3f27542b09e092205d282e56a1d9ce5f0949c Fixed dw_mle_set_cursor() should scroll to the point on Mac. Fixed a warning reported by clang in the test program. The events are occassionally getting errors on Mac and Unix... will need to debug. diff -r 88b3f27542b0 -r 196cd8a8e6a8 dwtest.c --- a/dwtest.c Fri Sep 30 03:19:16 2011 +0000 +++ b/dwtest.c Fri Sep 30 03:32:26 2011 +0000 @@ -1375,8 +1375,6 @@ void thread_add(void) { HWND tmpbox; - char buf[100]; - int i; /* create a box to pack into the notebook page */ tmpbox = dw_box_new(DW_VERT, 0); diff -r 88b3f27542b0 -r 196cd8a8e6a8 mac/dw.m --- a/mac/dw.m Fri Sep 30 03:19:16 2011 +0000 +++ b/mac/dw.m Fri Sep 30 03:32:26 2011 +0000 @@ -4476,6 +4476,7 @@ if(point > length) point = (int)length; [mle setSelectedRange: NSMakeRange(point,point)]; + [mle scrollRangeToVisible:NSMakeRange(point,point)]; } /*