I think is more correct but not tested

levelTitle & levelAuthor is never equals to null, if you want to know if levelTitle is null derefenrece the pointer. Is not me GCC say that.