diff --git a/PowerEditor/bin/NppShell.dll b/PowerEditor/bin/NppShell.dll index 2529a918..6d945e17 100644 Binary files a/PowerEditor/bin/NppShell.dll and b/PowerEditor/bin/NppShell.dll differ diff --git a/PowerEditor/bin/NppShell64.dll b/PowerEditor/bin/NppShell64.dll index 6cf394c5..57731eb4 100644 Binary files a/PowerEditor/bin/NppShell64.dll and b/PowerEditor/bin/NppShell64.dll differ diff --git a/PowerEditor/src/tools/NppShell/src/Bitmap.cpp b/PowerEditor/src/tools/NppShell/src/Bitmap.cpp index cb7dea78..cfa5c4f5 100644 --- a/PowerEditor/src/tools/NppShell/src/Bitmap.cpp +++ b/PowerEditor/src/tools/NppShell/src/Bitmap.cpp @@ -14,7 +14,7 @@ bool InitTheming() { pfnGetBufferedPaintBits = (FN_GetBufferedPaintBits)::GetProcAddress(hUxTheme, "GetBufferedPaintBits"); pfnBeginBufferedPaint = (FN_BeginBufferedPaint)::GetProcAddress(hUxTheme, "BeginBufferedPaint"); pfnEndBufferedPaint = (FN_EndBufferedPaint)::GetProcAddress(hUxTheme, "EndBufferedPaint"); - if ((pfnGetBufferedPaintBits == NULL) | (pfnBeginBufferedPaint == NULL) | (pfnEndBufferedPaint == NULL)) { + if ((pfnGetBufferedPaintBits == NULL) || (pfnBeginBufferedPaint == NULL) || (pfnEndBufferedPaint == NULL)) { pfnGetBufferedPaintBits = NULL; pfnBeginBufferedPaint = NULL; pfnEndBufferedPaint = NULL; diff --git a/PowerEditor/src/tools/NppShell/src/NppShell.cpp b/PowerEditor/src/tools/NppShell/src/NppShell.cpp index 5557341b..df4627b1 100644 --- a/PowerEditor/src/tools/NppShell/src/NppShell.cpp +++ b/PowerEditor/src/tools/NppShell/src/NppShell.cpp @@ -23,11 +23,11 @@ TCHAR szNppName[] = TEXT("notepad++.exe"); TCHAR szDefaultMenutext[] = TEXT("Edit with &Notepad++"); #ifdef WIN64 -TCHAR szShellExtensionTitle[] = TEXT("Notepad++64"); -TCHAR szShellExtensionKey[] = TEXT("*\\shellex\\ContextMenuHandlers\\Notepad++64"); +TCHAR szShellExtensionTitle[] = TEXT("ANotepad++64"); +TCHAR szShellExtensionKey[] = TEXT("*\\shellex\\ContextMenuHandlers\\ANotepad++64"); #else -TCHAR szShellExtensionTitle[] = TEXT("Notepad++"); -TCHAR szShellExtensionKey[] = TEXT("*\\shellex\\ContextMenuHandlers\\Notepad++"); +TCHAR szShellExtensionTitle[] = TEXT("ANotepad++"); +TCHAR szShellExtensionKey[] = TEXT("*\\shellex\\ContextMenuHandlers\\ANotepad++"); #endif #define szHelpTextA "Edits the selected file(s) with Notepad++" @@ -610,6 +610,7 @@ STDMETHODIMP CShellExt::QueryContextMenu(HMENU hMenu, UINT indexMenu, UINT idCmd InsertMenu(hMenu, nIndex, MF_STRING|MF_BYPOSITION, idCmd++, m_szMenuTitle); + if (m_showIcon) { HBITMAP icon = NULL; if (m_winVer >= WINVER_VISTA) {