Skip to content

Commit dfb307b

Browse files
committed
Fix C++23 warnings
warning C5333: backslash and newline separated by space is treated as a line continuation in C++23 and later
1 parent b207064 commit dfb307b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Src/StartMenu/StartMenuDLL/ItemManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ class CItemManager
383383
static DWORD CALLBACK StaticRefreshInfoThread( void *param );
384384
static DWORD CALLBACK SaveCacheFileThread( void *param );
385385

386-
// all paths are in caps and end with \
386+
// all paths are in caps and end with backslash
387387
CString m_RootStartMenu1;
388388
CString m_RootStartMenu2;
389389
CString m_RootStartMenu3;

Src/StartMenu/StartMenuHelper/StartMenuExt.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ END_COM_MAP()
5555
STDMETHODIMP InvokeCommand( CMINVOKECOMMANDINFO *pInfo );
5656
STDMETHODIMP GetCommandString( UINT_PTR idCmd, UINT uFlags, UINT* pwReserved, LPSTR pszName, UINT cchMax );
5757

58-
wchar_t m_PinFolder1[_MAX_PATH]; // ending with \
59-
wchar_t m_PinFolder2[_MAX_PATH]; // ending with \
58+
wchar_t m_PinFolder1[_MAX_PATH]; // ending with backslash
59+
wchar_t m_PinFolder2[_MAX_PATH]; // ending with backslash
6060
wchar_t m_FileName[_MAX_PATH];
6161
LPITEMIDLIST m_FilePidl;
6262
bool m_bInPinFolder1, m_bInPinFolder2;

0 commit comments

Comments
 (0)