Changes between Initial Version and Version 3 of Ticket #7701
- Timestamp:
- Jun 15, 2011, 8:59:00 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7701 – Description
initial v3 23 23 24 24 {{{ 25 const char*cstr = NULL;26 status_t error = FindString(name, index,&cstr);27 if (error <B_OK)28 29 30 returnerror;31 25 const char *cstr = NULL; 26 status_t error = FindString(name, index, &cstr); 27 if (error < B_OK) 28 { 29 string->Truncate(0); // <-- here it is, a reset that's fairly fast (Truncate() in "lazy" mode) 30 return error; 31 } 32 32 33 33 }}}