Skip to content

Commit

Permalink
Fix incorrect error detection in code example
Browse files Browse the repository at this point in the history
- closes #18
  • Loading branch information
kimkulling committed Jun 23, 2022
1 parent 1555482 commit a8f3dab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/usage/use_the_lib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ imported scene to clean up all resources associated with the import.
aiProcess_SortByPType);

// If the import failed, report it
if( NULL != scene) {
if( NULL == scene) {
DoTheErrorLogging( aiGetErrorString());
return false;
}
Expand Down

0 comments on commit a8f3dab

Please sign in to comment.