Changes between Initial Version and Version 3 of Ticket #7701


Ignore:
Timestamp:
Jun 15, 2011, 8:59:00 PM (13 years ago)
Author:
axeld
Comment:

Even though the BeOS semantics of BMessage::Find*() are really braindead, it's still a compatibility issue that deserves to be fixed.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7701 – Description

    initial v3  
    2323
    2424{{{
    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             }
     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            }
    3232       
    3333}}}