Skip to content

Fix: A potential bug in Win32WindowHelper.cs - #1564

Merged
Karen (karkarl) merged 1 commit into
microsoft:mainfrom
Paper-Scallion:main
Jul 19, 2024
Merged

Karen (karkarl) merged 1 commit into
microsoft:mainfrom
Paper-Scallion:main

Conversation

@Paper-Scallion

@Paper-Scallion Paper-Scallion commented Jun 15, 2024 •

Copy link
Copy Markdown
Contributor

Modify the code to avoid potential problems(in 'WinUIGallery/Helper/Win32WindowHelper.cs')

Description

max may have been incorrectly written as min in the code

Motivation and Context

By analyzing the code, it can be inferred that there might be a problem here.

How Has This Been Tested?

Manual test

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
@Paper-Scallion Paper-Scallion changed the title Update Win32WindowHelper.cs Jun 18, 2024

@marcelwgn Marcel W. (marcelwgn) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good catch, thank you for fixing this!

@karkarl

Copy link
Copy Markdown
Collaborator

/azp run

@karkarl
Karen (karkarl) merged commit 116e48b into microsoft:main Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants