|
From: Peter K. <syn...@us...> - 2005-04-08 22:50:24
|
Update of /cvsroot/adobe-source/sandbox/adobe-source/adobe/test/adam_tutorial In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24787 Modified Files: main.cpp Log Message: avoid crash when checking range (msvc8 only) Index: main.cpp =================================================================== RCS file: /cvsroot/adobe-source/sandbox/adobe-source/adobe/test/adam_tutorial/main.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** main.cpp 19 Mar 2005 00:16:43 -0000 1.1 --- main.cpp 8 Apr 2005 22:50:15 -0000 1.2 *************** *** 145,148 **** --- 145,149 ---- cell_name_buffer.reserve(1024); new_value_buffer.reserve(1024); + new_value_buffer.resize(1); adobe::for_each(cell_set_m, boost::bind(setup_monitor, boost::ref(sheet_m), _1)); |