[GME-commit] GMESRC/GME/Console ScriptEdit.cpp,1.9,1.10
Log messages of CVS commits
gme-commit at list.isis.vanderbilt.edu
Mon May 12 16:53:44 CDT 2008
- Previous message: [GME-commit] GMESRC/Install Component.idt, 1.38, 1.39 Directory.idt, 1.11, 1.12 FeatureComponents.idt, 1.29, 1.30 File.idt, 1.42, 1.43 ISComponentExtended.idt, 1.30, 1.31 _SummaryInformation.idt, 1.3, 1.4
- Next message: [GME-commit] GMESRC/GME/Console ConsoleCtl.cpp,1.9,1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /project/gme-repository/GMESRC/GME/Console
In directory escher:/tmp/cvs-serv23611
Modified Files:
ScriptEdit.cpp
Log Message:
ReleaseBuffer called with the length of the string.
CVS User: Zoltan Molnar, ISIS (zolmol)
Index: ScriptEdit.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Console/ScriptEdit.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** ScriptEdit.cpp 7 May 2008 20:50:16 -0000 1.9
--- ScriptEdit.cpp 12 May 2008 21:53:42 -0000 1.10
***************
*** 104,109 ****
CString inp;
! GetLine(0, inp.GetBuffer(256), 256);
! inp.ReleaseBuffer();
_bstr_t binp = inp;
// echo
--- 104,111 ----
CString inp;
! int nCopied = GetLine(0, inp.GetBuffer(256), 256);
! inp.ReleaseBuffer( nCopied); // specify how long the string is supposed to be
! ASSERT( nCopied == inp.GetLength());
!
_bstr_t binp = inp;
// echo
- Previous message: [GME-commit] GMESRC/Install Component.idt, 1.38, 1.39 Directory.idt, 1.11, 1.12 FeatureComponents.idt, 1.29, 1.30 File.idt, 1.42, 1.43 ISComponentExtended.idt, 1.30, 1.31 _SummaryInformation.idt, 1.3, 1.4
- Next message: [GME-commit] GMESRC/GME/Console ConsoleCtl.cpp,1.9,1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the GME-commit
mailing list