Skip to content

Commit ebf9ce6

Browse files
committed
Use compound assignment
1 parent 460fa55 commit ebf9ce6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Figgle/FiggleFontParser.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@ int UpgradeLayout()
8888
for (var i = 0; i < commentLineCount; i++)
8989
reader.ReadLine();
9090

91-
if (pool == null)
92-
pool = new StringPool();
91+
pool ??= new StringPool();
9392

9493
/*
9594
Characters 0-31 are control characters.

0 commit comments

Comments
 (0)