Skip to content

Commit

Permalink
Fix typos (dotnet/runtime#79136)
Browse files Browse the repository at this point in the history
Commit migrated from dotnet/runtime@3855a99
  • Loading branch information
am11 authored Dec 4, 2022
1 parent aa84547 commit 64dfe0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/System.Drawing.Common/src/System/Drawing/Graphics.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3297,7 +3297,7 @@ private void PopContext(int currentContextState)
{
_previousContext = context.Previous;

// This will dipose all context object up the stack.
// This will dispose all context object up the stack.
context.Dispose();
return;
}
Expand Down
2 changes: 1 addition & 1 deletion src/System.Drawing.Common/src/misc/GDI/WindowsGraphics.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public static WindowsGraphics FromGraphics(Graphics g, ApplyGraphicsProperties p

if (clip is not null)
{
// We have to create the WindowsRegion and dipose the Region object before locking the Graphics object,
// We have to create the WindowsRegion and dispose the Region object before locking the Graphics object,
// in case of an unlikely exception before releasing the WindowsRegion, the finalizer will do it for us.
// (no try-finally block since this method is used frequently - perf).

Expand Down

0 comments on commit 64dfe0b

Please sign in to comment.