Skip to content

Commit

Permalink
code clean
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongwuzw committed Apr 21, 2019
1 parent fc08e2d commit 1b5d96f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/TextKit/ASTextKitContext.mm
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ - (instancetype)initWithAttributedString:(NSAttributedString *)attributedString
mutex = new AS::Mutex();
}
});
if (mutex) {
if (mutex != NULL) {
mutex->lock();
}

Expand Down

0 comments on commit 1b5d96f

Please sign in to comment.