Skip to content

Commit

Permalink
Spelling updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
daverayment committed Jan 27, 2025
1 parent 36882f4 commit a3c0fa4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/actions/spell-check/expect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,7 @@ flac
flyouts
FMask
FOF
FOF_WANTNUKEWARNING

Check warning on line 493 in .github/actions/spell-check/expect.txt

View workflow job for this annotation

GitHub Actions / Check Spelling

`_` matches a line_forbidden.patterns entry: `(?![A-Z]|[a-z]|'|\s|=).`. (forbidden-pattern)
FOFX
FOLDERID
folderpath
Expand Down Expand Up @@ -1414,6 +1415,7 @@ SHCNE
SHCNF
SHCONTF
Shcore
shellapi
SHELLDETAILS
SHELLDLL
shellex
Expand Down Expand Up @@ -1806,6 +1808,7 @@ windowssearch
windowssettings
WINDOWSTYLES
WINDOWSTYLESICON
winerror
WINEVENT
winget
wingetcreate
Expand Down
2 changes: 1 addition & 1 deletion src/modules/peek/Peek.UI/MainWindowViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ private int DeleteFile(IFileSystemItem item, bool permanent = false)
if (!permanent)
{
// Move to the Recycle Bin and warn about permanent deletes.
flags |= (ushort)(FOF_ALLOWUNDO | FOF_WANT_NUKE_WARNING);
flags |= (ushort)(FOF_ALLOWUNDO | FOF_WANTNUKEWARNING);
}

SHFILEOPSTRUCT fileOp = new()
Expand Down
4 changes: 2 additions & 2 deletions src/modules/peek/Peek.UI/Native/NativeMethods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ internal struct SHFILEOPSTRUCT
/// overrides FOF_NO_CONFIRMATION.) This can be tested by attempting to delete a file on a
/// FAT volume, e.g. a USB key.
/// </summary>
/// <remarks>FOF_WANTNUKEWARNING in shellapi.h./remarks>
internal const ushort FOF_WANT_NUKE_WARNING = 0x4000;
/// <remarks>Declared in shellapi.h./remarks>
internal const ushort FOF_WANTNUKEWARNING = 0x4000;

/// <summary>
/// Common error codes when calling SHFileOperation to delete a file.
Expand Down

0 comments on commit a3c0fa4

Please sign in to comment.