Skip to content

Commit

Permalink
Use compound assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
drewnoakes committed Oct 31, 2022
1 parent 460fa55 commit ebf9ce6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Figgle/FiggleFontParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ int UpgradeLayout()
for (var i = 0; i < commentLineCount; i++)
reader.ReadLine();

if (pool == null)
pool = new StringPool();
pool ??= new StringPool();

/*
Characters 0-31 are control characters.
Expand Down

0 comments on commit ebf9ce6

Please sign in to comment.