Ignore:
Timestamp:
Feb 26, 2013, 2:43:45 PM (7 years ago)
Author:
sam
Message:

base: start removing occurrences of NULL on our long journey to nullptr.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/text.cpp

    r2377 r2506  
    4646{
    4747    data->font = Forge::Register(font);
    48     data->text = text ? strdup(text) : NULL;
     48    data->text = text ? strdup(text) : nullptr;
    4949    data->length = text ? strlen(text) : 0;
    5050    data->pos = vec3(0, 0, 0);
     
    5757    if (data->text)
    5858        free(data->text);
    59     data->text = text ? strdup(text) : NULL;
     59    data->text = text ? strdup(text) : nullptr;
    6060    data->length = text ? strlen(text) : 0;
    6161}
Note: See TracChangeset for help on using the changeset viewer.